python-odml icon indicating copy to clipboard operation
python-odml copied to clipboard

standalone attribute for `Section` and `Property` objects.

Open msuzen opened this issue 8 years ago • 2 comments

Following discussion #93

  • Introduce standalone attribute for Section and Property objects. If parent is not explicitly set, default standalone could be yes.
  • 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.

msuzen avatar Mar 23 '17 11:03 msuzen

I disagree especially with the second point! Please cf. My comment of this in #93

lzehl avatar Mar 23 '17 11:03 lzehl

@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.

lzehl avatar Mar 23 '17 19:03 lzehl