python-odml
python-odml copied to clipboard
standalone attribute for `Section` and `Property` objects.
Following discussion #93
- Introduce
standaloneattribute forSectionandPropertyobjects. Ifparentis not explicitly set, defaultstandalonecould beyes. - If defined as standalone, the object should be immutable and not attachable to another object. Use case could be a similar sections in multiple experiments could reoccur, so one could copy one of those in different experiment metadata.
I disagree especially with the second point! Please cf. My comment of this in #93
@msuzen: ahh :) now I get it. This goes into the direction of my request for real template structures/objects for odml files! This would be awesome, but as you said a high level suggestion.