Menu

Commit [r26082]  Maximize  Restore  History

Merged revisions 26071-26072 via svnmerge from

svn+ssh://bugman@.../svn/relax/trunk

........
r26071 | bugman | 2014-09-26 18:29:26 +0200 (Fri, 26 Sep 2014) | 10 lines

Fix for the cdp.exp_info.software data structure setup.

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 Element data container name was being replaced by the software name, making it impossible to
restore from the XML.
........
r26072 | bugman | 2014-09-26 18:43:09 +0200 (Fri, 26 Sep 2014) | 10 lines

Implemented the cdp.exp_info.from_xml() method to correctly restore the experimental info structure.

This fixes 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.

This custom ExpInfo.from_xml() method is required to properly recreate the software, script and
citation list data structures of the cdp.exp_info data structure, as these are special RelaxListType
objects populated by Element objects (both from data_store.data_classes).
........

bugman 2014-09-26

changed /branches/frame_order_cleanup
changed /branches/frame_order_cleanup/data_store/exp_info.py
/branches/frame_order_cleanup/data_store/exp_info.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.