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

Fa tracking/seeding mask has wrong datatype #47

Closed
frheault opened this issue Apr 17, 2021 · 0 comments · Fixed by #48
Closed

Fa tracking/seeding mask has wrong datatype #47

frheault opened this issue Apr 17, 2021 · 0 comments · Fixed by #48
Assignees

Comments

@frheault
Copy link
Member

mrcalc $fa $params.pft_fa_seeding_mask_theshold -ge ${sid}__pft_seeding_mask.nii.gz
(Same for local) requires -datatype as uint8
Or use scil_image_math.py convert --data_type

This makes the pipeline crash at tracking.
OSError: The image me_s0__local_tracking_mask.nii.gz cannot be loaded as mask because its type <class 'numpy.float32'> is not compatible with a mask

@arnaudbore arnaudbore self-assigned this Apr 18, 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 a pull request may close this issue.

2 participants