This PR was created to improve the robustness of the script gather_data.py. This script is now able to deal with the presence of sessions in the BIDS dataset.
Some refactoring was also done.
It is also now possible to copy segmentation files to avoid unecessary use of sct_deepseg_sc in the benchmark. The ability to select manual segmentation will also improve the benchmark results thanks to more accurate projections on the spinal cord.
Description
This PR was created to improve the robustness of the script
gather_data.py
. This script is now able to deal with the presence of sessions in the BIDS dataset.Some refactoring was also done.
It is also now possible to copy segmentation files to avoid unecessary use of sct_deepseg_sc in the benchmark. The ability to select manual segmentation will also improve the benchmark results thanks to more accurate projections on the spinal cord.