[STORY] Enable extension of data spaces #34
Labels
analysis-design
Complex analysis workflow epic
deep
Requires advanced framework/domain-specific knowledge
pipelines
story
a unit of work
Milestone
When subclassing an analysis classes for a particular study, a designer may want to add another dimension to the data space (e.g. introduce a group of groups dimension). In this case, there should be a way to extend the data space and set this as the space of the subclass, while still inheriting attributes and methods from a base analysis in a sensible manner.
There are a couple of complications with this:
Therefore, the extension should be handled by a method, e.g.
DataSpace.extend(axis_name, exist_prefix)
, which will return a new enum with an additional axis and the values of existing non-axis members bitwise "anded" by the new axis and new members in their place with the same value prefixed by 'exist_prefix'.The text was updated successfully, but these errors were encountered: