mailr7664 - /1.3/generic_fns/palmer.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 12, 2008 - 18:45:
Author: bugman
Date: Sun Oct 12 18:45:21 2008
New Revision: 7664

URL: http://svn.gna.org/viewcvs/relax?rev=7664&view=rev
Log:
More fixes for create_run().


Modified:
    1.3/generic_fns/palmer.py

Modified: 1.3/generic_fns/palmer.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/palmer.py?rev=7664&r1=7663&r2=7664&view=diff
==============================================================================
--- 1.3/generic_fns/palmer.py (original)
+++ 1.3/generic_fns/palmer.py Sun Oct 12 18:45:21 2008
@@ -26,7 +26,7 @@
 
 # Python module imports.
 from math import pi
-from os import F_OK, access, chdir, chmod, getcwd, listdir, popen3, remove, 
system
+from os import F_OK, access, chdir, chmod, getcwd, listdir, popen3, remove, 
sep, system
 from re import match, search
 from string import count, find, split
 import sys
@@ -492,8 +492,8 @@
     file.write(binary + " -i mfin -d mfdata -p mfpar -m mfmodel -o mfout -e 
out")
     if cdp.diff_tensor.type != 'sphere':
         # Copy the pdb file to the model directory so there are no problems 
with the existance of *.rotate files.
-        system('cp ' + cdp.structure.path[0] + cdp.structure.file_name[0] + 
' ' + dir)
-        file.write(" -s " + cdp.structure.file_name[0])
+        system('cp ' + cdp.structure.path[0] + sep + cdp.structure.file[0] + 
' ' + dir)
+        file.write(" -s " + cdp.structure.file[0])
     file.write("\n")
 
 




Related Messages


Powered by MHonArc, Updated Sun Oct 12 19:00:02 2008