G-Node / python-odml

odML libraries
http://g-node.github.io/python-odml/
BSD 4-Clause "Original" or "Old" License
24 stars 30 forks source link

Feature: Restricting the number of subsections of a specific 'type' #390

Open mpsonntag opened 4 years ago

mpsonntag commented 4 years ago

With basic cardinality rules implemented for Property -> Values, Section -> Properties, and Section -> Sections, the topic came up if we would also like to have more specific rules, especially for Section > Sections. One idea that came up is restricting the number of subsections of a specific type.

Originally posted by @achilleas-k in https://github.com/G-Node/python-odml/issues/361#issuecomment-616523135

jgrewe commented 4 years ago

I do like this, I think this would be a valuable feature for defining templates.