mailr18193 - /trunk/data/__init__.py


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

Header


Content

Posted by edward on January 10, 2013 - 16:15:
Author: bugman
Date: Thu Jan 10 16:15:19 2013
New Revision: 18193

URL: http://svn.gna.org/viewcvs/relax?rev=18193&view=rev
Log:
Fix for bug #20421 (https://gna.org/bugs/?20421).

The loading of relax state files was only updating the spin ID metadata 
structures for the current
data pipe.  Now all loaded data pipes are updated.


Modified:
    trunk/data/__init__.py

Modified: trunk/data/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/data/__init__.py?rev=18193&r1=18192&r2=18193&view=diff
==============================================================================
--- trunk/data/__init__.py (original)
+++ trunk/data/__init__.py Thu Jan 10 16:15:19 2013
@@ -495,8 +495,9 @@
             if self.current_pipe in list(self.keys()):
                 builtins.cdp = self[self.current_pipe]
 
-        # Finally update the molecule, residue, and spin metadata.
-        generic_fns.mol_res_spin.metadata_update()
+        # Finally update the molecule, residue, and spin metadata for each 
data pipe.
+        for pipe in pipes:
+            generic_fns.mol_res_spin.metadata_update(pipe=pipe)
 
         # Backwards compatibility transformations.
         self._back_compat_hook(file_version, pipes=pipes)




Related Messages


Powered by MHonArc, Updated Thu Jan 10 16:20:01 2013