Currently, I believe the scripts expects predictions and GTs to be in different folders and based on these lines also expects to be the root directory.
But to be able to run within the sct_run_batch
script which typically outputs in bids-format, it would be good to have bids-compatibility for this script as well. (essentially globbing through the prediction and label suffixes instead of looking only for nii.gz
files
tagging @valosekj