Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow other extensions than nii.gz to be given by the user for optional input files #745

Merged
merged 1 commit into from
Oct 2, 2021

Conversation

36000
Copy link
Collaborator

@36000 36000 commented Oct 1, 2021

No description provided.

@arokem
Copy link
Collaborator

arokem commented Oct 1, 2021

What is the use-case for this?

@36000
Copy link
Collaborator Author

36000 commented Oct 2, 2021

Iliana & Sendy are working on a dataset where there are image files in "mgz" format. They want to do something like:

brain_mask = LabelledMaskFile(
    "seg",
    {"scope": "freesurfer", "extension": "mgz"},
    exclusive_labels=[0])

@arokem arokem merged commit 49baa5a into yeatmanlab:master Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants