mailr7413 - /1.3/generic_fns/structure/internal.py


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

Header


Content

Posted by edward on September 27, 2008 - 16:46:
Author: bugman
Date: Sat Sep 27 16:46:43 2008
New Revision: 7413

URL: http://svn.gna.org/viewcvs/relax?rev=7413&view=rev
Log:
Fix for load_pdb().  The structure needs to be loaded before displaying it.


Modified:
    1.3/generic_fns/structure/internal.py

Modified: 1.3/generic_fns/structure/internal.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/internal.py?rev=7413&r1=7412&r2=7413&view=diff
==============================================================================
--- 1.3/generic_fns/structure/internal.py (original)
+++ 1.3/generic_fns/structure/internal.py Sat Sep 27 16:46:43 2008
@@ -868,13 +868,13 @@
                 # Loop over the structures.
                 for i in xrange(data_pipe.structure.num):
                     if data_pipe.structure.name[i] == name and 
data_pipe.structure.id == 'internal':
+                        # Add the structure.
+                        self.__add_struct(name=name, model=model, file=file, 
path=path, str=data_pipe.structure.structural_data[i], 
struct_index=struct_index)
+
                         # Print out.
                         if verbosity:
                             print "Using the structures from the data pipe " 
+ `key` + "."
                             print self.structural_data[i]
-
-                        # Add the structure.
-                        self.__add_struct(name=name, model=model, file=file, 
path=path, str=data_pipe.structure.structural_data[i], 
struct_index=struct_index)
 
                         # Exit this function.
                         return True




Related Messages


Powered by MHonArc, Updated Sat Sep 27 18:20:02 2008