mailr5385 - /1.3/generic_fns/pymol.py


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

Header


Content

Posted by edward on April 07, 2008 - 18:29:
Author: bugman
Date: Mon Apr  7 18:29:38 2008
New Revision: 5385

URL: http://svn.gna.org/viewcvs/relax?rev=5385&view=rev
Log:
Fixed the call to relax_io.file_root in vector_dist().


Modified:
    1.3/generic_fns/pymol.py

Modified: 1.3/generic_fns/pymol.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/pymol.py?rev=5385&r1=5384&r2=5385&view=diff
==============================================================================
--- 1.3/generic_fns/pymol.py (original)
+++ 1.3/generic_fns/pymol.py Mon Apr  7 18:29:38 2008
@@ -284,7 +284,7 @@
         raise RelaxNoPipeError, self.run
 
     # The file root.
-    file_root = self.relax.IO.file_root(file)
+    id = file_root(file)
 
     # Read in the vector distribution PDB file.
     self.pipe_write("load " + file)
@@ -294,7 +294,7 @@
     ###################
 
     # Select the vector distribution.
-    self.pipe_write("cmd.show('surface', " + `file_root` + ")")
+    self.pipe_write("cmd.show('surface', " + `id` + ")")
 
 
 def view(run=None):




Related Messages


Powered by MHonArc, Updated Mon Apr 07 18:40:11 2008