Skip to content

Conversation

br-cpvc
Copy link
Contributor

@br-cpvc br-cpvc commented Nov 21, 2022

bug can be reproduced by:

wget https://openneuro.org/crn/datasets/ds004288/snapshots/1.0.1/files/sub-0303:anat:sub-0303_T1w.nii.gz
mkdir tmp_test
Atropos -x sub-0303:anat:sub-0303_T1w.nii.gz -a sub-0303:anat:sub-0303_T1w.nii.gz -o [ tmp_test/Segmentation.nii.gz,tmp_test/SegmentationPosteriors%d.nii.gz ]

this currently segfaults, the patched code instead prints an error message to explain to the user what is wrong.

@cookpa
Copy link
Member

cookpa commented Nov 21, 2022

Thanks for this @br-cpvc

@cookpa cookpa merged commit 9ad9e08 into ANTsX:master Nov 21, 2022
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.

2 participants