mailr7417 - /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 - 19:28:
Author: bugman
Date: Sat Sep 27 19:28:07 2008
New Revision: 7417

URL: http://svn.gna.org/viewcvs/relax?rev=7417&view=rev
Log:
Disabled the path check when reloading a structure.


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=7417&r1=7416&r2=7417&view=diff
==============================================================================
--- 1.3/generic_fns/structure/internal.py (original)
+++ 1.3/generic_fns/structure/internal.py Sat Sep 27 19:28:07 2008
@@ -89,10 +89,6 @@
             # File name.
             if file != self.file[struct_index]:
                 raise RelaxError, "The file names of " + `file` + " and " + 
`self.file[struct_index]` + " do not match."
-
-            # Path.
-            if path != self.path[struct_index]:
-                raise RelaxError, "The paths of " + `path` + " and " + 
`self.path[struct_index]` + " do not match."
 
         # Initialise.
         else:
@@ -896,7 +892,7 @@
             self.__add_struct(name=name, model=model_num, file=file, 
path=path, str=Structure_container(), struct_index=struct_index)
 
             # Fill the structural data object.
-            self.__fill_object_from_pdb(records, len(self.structural_data)-1)
+            self.__fill_object_from_pdb(records, struct_index=struct_index)
 
         # Loading worked.
         return True




Related Messages


Powered by MHonArc, Updated Sat Sep 27 20:00:06 2008