Open xgui3783 opened 4 months ago
This is the intended behavior by design (also after our revisit of get_region
) so I am removing the bug label.
We should talk with @dickscheid to discuss it.
This behavior is also visible for
Ursprünglicher Eintrag: Supplementarymotor_sma Gefundene Region: mesial precentral gyrus Identifikator: minds/core/parcellationatlas/v1.0.0/94c1125b-b87e-45e4-901c-00daee7f2579-300_MESIAL_PRECENTRAL_GYRUS
and
Ursprünglicher Eintrag: Supplementarymotor_presma Gefundene Region: posterior medial superior frontal gyrus Identifikator: minds/core/parcellationatlas/v1.0.0/94c1125b-b87e-45e4-901c-00daee7f2579-300_POSTERIOR_MEDIAL_SUPERIOR_FRONTAL_GYRUS
as first reported by @SBludau , as of version
1.0a06
This is the result of
find_topmost=True
(defaultget_region
parameter). This automatically returns the parent region if all of the child regions returns true. AsArea 6ma (preSMA, mesial SFG)
is the only child ofposterior medial superior frontal gyrus
, the nodeposterior medial superior frontal gyrus
is returned instead.I would argue the
find_topmost=True
behavior should be remedied, so that, the parent should only be selected if all of its children are selected and itself also matched the criteria