Description: syntax fix
Author: Steffen Moeller <moeller@debian.org>
Last-Update: 2011-06-17
Index: mgltools-pmv-1.5.6~rc1+cvs.20110617/Pmv/hostappInterface/cinema4d/plugin/epmv_c4d_plugin.py
===================================================================
--- mgltools-pmv-1.5.6~rc1+cvs.20110617.orig/Pmv/hostappInterface/cinema4d/plugin/epmv_c4d_plugin.py 2011-06-17 10:32:52.196090334 +0200
+++ mgltools-pmv-1.5.6~rc1+cvs.20110617/Pmv/hostappInterface/cinema4d/plugin/epmv_c4d_plugin.py 2011-06-17 10:32:59.448126295 +0200
@@ -38,7 +38,7 @@
# ***** END GPL LICENCE BLOCK *****
# --------------------------------------------------------------------------
-MGL_ROOT=
+MGL_ROOT=""
#TODO:
#make the pyrosetta extension
Index: mgltools-pmv-1.5.6~rc1+cvs.20110617/Pmv/styles/sessionToStyle.py
===================================================================
--- mgltools-pmv-1.5.6~rc1+cvs.20110617.orig/Pmv/styles/sessionToStyle.py 2011-06-17 10:33:27.832267045 +0200
+++ mgltools-pmv-1.5.6~rc1+cvs.20110617/Pmv/styles/sessionToStyle.py 2011-06-17 10:41:49.390754143 +0200
@@ -14,8 +14,7 @@
f = open(name+'_style.py', 'w')
f.write("numberOfMolecules = 1\n\n")
-f.write("__doc__ = """Style_01: Applies to X molecules. It displays ..
-"""\n")
+f.write("__doc__ = ""Style_01: Applies to X molecules. It displays .. ""\n")
f.write("def applyStyle(mv, molName):\n")
f.write(" mode='both'\n")
Index: mgltools-pmv-1.5.6~rc1+cvs.20110617/Pmv/hostappInterface/cinema4d/test/energy_test.py
===================================================================
--- mgltools-pmv-1.5.6~rc1+cvs.20110617.orig/Pmv/hostappInterface/cinema4d/test/energy_test.py 2011-06-17 10:37:54.329588540 +0200
+++ mgltools-pmv-1.5.6~rc1+cvs.20110617/Pmv/hostappInterface/cinema4d/test/energy_test.py 2011-06-17 10:40:54.950484186 +0200
@@ -56,7 +56,8 @@
#call md_Amber94 command
#c('mdtest5', 349, callback=1, filename='0', log=0, callback_freq=10)
import thread
-thread.start_new(c,('mdtest5', 349, callback=1, filename='0', log=0, callback_freq=10))
+#thread.start_new(c,('mdtest5', 349, callback=1, filename='0', log=0, callback_freq=10))
+c('mdtest5', 349, callback=1, filename='0', log=0, callback_freq=10)
thr = MyThread()#c,'mdtest5', 349, callback=1, filename='0', log=0, callback_freq=10)
thr.start(back=True)
#do some other operations here
@@ -101,4 +102,4 @@
# Show animation of the first non-trivial mode
-view(modes[6])
\ No newline at end of file
+view(modes[6])
Index: mgltools-pmv-1.5.6~rc1+cvs.20110617/Pmv/hostappInterface/blender/plugin/blenderPmvClientGUI.py
===================================================================
--- mgltools-pmv-1.5.6~rc1+cvs.20110617.orig/Pmv/hostappInterface/blender/plugin/blenderPmvClientGUI.py 2011-06-17 10:42:22.266917169 +0200
+++ mgltools-pmv-1.5.6~rc1+cvs.20110617/Pmv/hostappInterface/blender/plugin/blenderPmvClientGUI.py 2011-06-17 10:43:09.815152945 +0200
@@ -46,7 +46,7 @@
import math
import sys
-MGL_ROOT= #'/Library/MGLTools/1.5.6.csv'
+MGL_ROOT= "/usr"
sys.path[0]=(MGL_ROOT+'/lib/python2.5/site-packages')
sys.path.append(MGL_ROOT+'/lib/python2.5/site-packages/PIL')
sys.path.append(MGL_ROOT+'/MGLToolsPckgs')