You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a data container, you have to supply a name, unit and category. Often, these are not necessary, but they make code quite verbose. Often, the name and category are (mostly) a copy-paste of the label. A lot of types of data don't require a unit.
Especially when creating a lot of data containers in a file, the three extra lines per data container add up.
I propose making the name default to a (capitalised?) copy of label, the unit default to None and the category default to "other".
The text was updated successfully, but these errors were encountered:
When creating a data container, you have to supply a name, unit and category. Often, these are not necessary, but they make code quite verbose. Often, the name and category are (mostly) a copy-paste of the label. A lot of types of data don't require a unit.
Especially when creating a lot of data containers in a file, the three extra lines per data container add up.
I propose making the name default to a (capitalised?) copy of label, the unit default to None and the category default to "other".
The text was updated successfully, but these errors were encountered: