Change in Section type default behavior by mpsonntag · Pull Request #376 · G-Node/python-odml
added 7 commits
Changing the print format of the validation error messages in Section and Property init to make them more readable.
Section type should always be set and now is set by default to type='n.s.'. This behaviour is introduced to Section.__init__ and is changed in the base method 'create_section' from type='undefined' to type='n.s.' to ensure equal behaviour.
Since Section type is now always set by default to 'n.s.' the previous section type validations have been updated as well and the corresponding messages have been changed.
Closes G-Node#368 Adds all Section attributes to the Sectionable.create_section method.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters