Feat/expose parc merge #202
Labels
No labels
CRITICAL
Stale
WIP
bug
concept
coordinate
dataset
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
maintenance
maps
marker
mask
on hold
parcellation
preprocess
question
ready
storage
template-space
triage
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
juaml/junifer!202
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/expose_parc_merge"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This exposes the merging of parcellations (for example cortical and subcortical parcellations, i.e. schaefer + tian parcellations) as a function for the user, so that they can have merged parcellations available for subsequent analyses.
Codecov Report
100.00% <ø> (ø)Flags with carried forward coverage won't be shown. Click here to find out more.
100.00% <ø> (ø)97.82% <ø> (-0.03%)91.26% <ø> (+0.71%)100.00% <ø> (ø)@LeSasse :
Can you copy this tests and adapt them to the
merge_parcellationstest?github.com/juaml/junifer@af2a8cf999/junifer/markers/tests/test_parcel_aggregation.py (L293)They are basically testing overlapping / duplicated labels and stuff like that. This should be also tested here as it is no longer the responsibility of the marker to deal with several parcellations.
Rest is perfect, just need the proper tests.
Would be good to have the function reference here.
@ -700,3 +700,84 @@ def _retrieve_suit(].to_list()Is it
List[str]?I think a bit of explicit types for
ListandTuplewould be nice.The basic types like str can be documented here as well for ease.
ok, will check it out!
@ -700,3 +700,84 @@ def _retrieve_suit(].to_list()no, it should be
List["Nifti1Image"]i think, should i put it?@ -700,3 +700,84 @@ def _retrieve_suit(].to_list()makes sense, for the Tuple it works as
Tuple["Nifti1Image", List[str]]?@ -700,3 +700,84 @@ def _retrieve_suit(].to_list()Yeah.
@ -700,3 +700,84 @@ def _retrieve_suit(].to_list()you mean
parcellations_list : list of Nifti1Image?@ -700,3 +700,84 @@ def _retrieve_suit(].to_list()Yeah exactly.
@ -700,3 +700,84 @@ def _retrieve_suit(].to_list()Yeah but I think it should be
... niimg-like objectasnibabelcalls it.By copy, you mean move them over to the
test_merge_parcellationstests only, such that no multiple parcellation scenario is tested intest_parcel_aggregationanymore @fraimondo?@ -700,3 +700,84 @@ def _retrieve_suit(].to_list()ok will try that, i think i put
niimgbefore which the docs didn't recognise, butniimg-like objectmakes sense