You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that running totalspineseg with a directory containing .nii instead of .nii.gz files doesn't work.
Although the documentation of TotalSpineSeg is clear, I think it would be good to include the case where the data directory contains .nii files.
Steps to reproduce the issue
Create a data directory data with one .nii file
Run totalspineseg data output
The text was updated successfully, but these errors were encountered:
You make a good point. While the TotalSpineSeg documentation specifies the use of .nii.gz files, it would indeed enhance usability to support .nii files as well.
Currently, as we're focusing on integrating TotalSpineSeg into SCT (Spinal Cord Toolbox), our primary goal is to improve the labeling functionality. Supporting additional input formats like .nii is definitely something we can consider for future updates.
In the meantime, you can easily convert your .nii files to .nii.gz using tools like mri_convert from FreeSurfer. Here's a simple bash loop that can help:
I noticed that running totalspineseg with a directory containing
.nii
instead of.nii.gz
files doesn't work.Although the documentation of TotalSpineSeg is clear, I think it would be good to include the case where the data directory contains
.nii
files.Steps to reproduce the issue
data
with one.nii
filetotalspineseg data output
The text was updated successfully, but these errors were encountered: