Author: bugman Date: Fri Jan 30 18:03:56 2015 New Revision: 27401 URL: http://svn.gna.org/viewcvs/relax?rev=27401&view=rev Log: Fixes for handling the sequence_alignments data store object. Modified: trunk/data_store/__init__.py Modified: trunk/data_store/__init__.py URL: http://svn.gna.org/viewcvs/relax/trunk/data_store/__init__.py?rev=27401&r1=27400&r2=27401&view=diff ============================================================================== --- trunk/data_store/__init__.py (original) +++ trunk/data_store/__init__.py Fri Jan 30 18:03:56 2015 @@ -481,16 +481,16 @@ self.relax_gui.from_xml(gui_nodes[0], file_version=file_version) # Get the sequence alignment nodes. - seq_align_nodes = relax_node.getElementsByTagName('sequence_alignment') + seq_align_nodes = relax_node.getElementsByTagName('sequence_alignments') if seq_align_nodes: # Initialise the object. - self.sequence_alignment = Sequence_alignments() + self.sequence_alignments = Sequence_alignments() # Populate it. - self.sequence_alignment.from_xml(seq_align_nodes[0], file_version=file_version) + self.sequence_alignments.from_xml(seq_align_nodes[0], file_version=file_version) # Recreate all the data store data structures. - xml_to_object(relax_node, self, file_version=file_version, blacklist=['pipe', 'relax_gui', 'sequence_alignment']) + xml_to_object(relax_node, self, file_version=file_version, blacklist=['pipe', 'relax_gui', 'sequence_alignments']) # Get the pipe nodes. pipe_nodes = relax_node.getElementsByTagName('pipe')