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
I noticed that running totalspineseg with a directory containing
.niiinstead of.nii.gzfiles 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
.niifiles.Steps to reproduce the issue
datawith one.niifiletotalspineseg data output