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