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
Due to the solution of #165, in a RTDC-Hierarchy instance the registration of features happens both in its apply_filter()-function and in its __getitem__()-function. Specifically this is the case for non-scalar features "image", "image_bg", "mask" (done in apply_filter()-function) and non-scalar temporary/plugin-features.
For clarity and cleaner code, this should be bundled into one external function being called in both, apply_filter() and __getitem__().
The text was updated successfully, but these errors were encountered:
a "require_feature" function that is called in __getitem__ for each feature or
a "setup_features" function that is called always in __getitem__ and apply_filter
It should also be kept in mind that we have temporary and plugin features that, at any time point, may appear and disappear at the user's will. There should be tests against that to make sure that e.g. a hierarchy child does not return a temporary feature if that feature was deregistered.
Due to the solution of #165, in a RTDC-Hierarchy instance the registration of features happens both in its
apply_filter()
-function and in its__getitem__()
-function. Specifically this is the case for non-scalar features "image", "image_bg", "mask" (done inapply_filter()
-function) and non-scalar temporary/plugin-features.For clarity and cleaner code, this should be bundled into one external function being called in both,
apply_filter()
and__getitem__()
.The text was updated successfully, but these errors were encountered: