mailr26068 - /trunk/data_store/exp_info.py


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

Header


Content

Posted by edward on September 26, 2014 - 17:44:
Author: bugman
Date: Fri Sep 26 17:44:48 2014
New Revision: 26068

URL: http://svn.gna.org/viewcvs/relax?rev=26068&view=rev
Log:
Fix for the experimental information data pipe object when converting to XML 
state and results files.

This is a partial fix for bug #22704 (https://gna.org/bugs/?22704), the 
corrupted relax state files
after setting the relax references via the bmrb.software, bmrb.display, or 
bmrb.write user
functions.

The names and descriptions for the software, citation and script list objects 
were incorrectly set.
These have been fixed so that the name of the data structure and the real 
description is present in
the XML state or results file instead of <relax_list desc='relax list 
container'>.


Modified:
    trunk/data_store/exp_info.py

Modified: trunk/data_store/exp_info.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/data_store/exp_info.py?rev=26068&r1=26067&r2=26068&view=diff
==============================================================================
--- trunk/data_store/exp_info.py        (original)
+++ trunk/data_store/exp_info.py        Fri Sep 26 17:44:48 2014
@@ -83,10 +83,10 @@
             self.citations = RelaxListType()
 
             # The name of the container.
-            self.citations.container_name = "citation_list"
+            self.citations.list_name = "citation_list"
 
             # The description of the container.
-            self.citations.container_desc = "List of citations"
+            self.citations.list_desc = "List of citations"
 
         # Init the container.
         cite = Element()
@@ -191,10 +191,10 @@
             self.scripts = RelaxListType()
 
             # The name of the container.
-            self.scripts.container_name = "script_list"
+            self.scripts.list_name = "script_list"
 
             # The description of the container.
-            self.scripts.container_desc = "List of scripts used for the 
analysis"
+            self.scripts.list_desc = "List of scripts used for the analysis"
 
         # Init the container.
         script = Element()
@@ -243,10 +243,10 @@
             self.software = RelaxListType()
 
             # The name of the container.
-            self.software.container_name = "software_list"
+            self.software.list_name = "software_list"
 
             # The description of the container.
-            self.software.container_desc = "List of software programs used 
in the analysis"
+            self.software.list_desc = "List of software programs used in the 
analysis"
 
         # Init the container.
         software = Element()




Related Messages


Powered by MHonArc, Updated Fri Sep 26 18:20:02 2014