◐ Shell
clean mode source ↗

Change in Section type default behavior by mpsonntag · Pull Request #376 · G-Node/python-odml

added 7 commits

April 7, 2020 12:55
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.

@mpsonntag