Describe the bug
The scaling_cli.py scripts expect that every (subject, session, modality) is unique, which is by default not the case when diffusion have been made using TOPUP technique (there are et least two diffusion images per (subject, session)).
Expected behavior
Contrary to other cases where extra filtering may solve the issue, it is impossible for TOPUP. But maybe a solution for more cases would be nice?
Module and lines involved
The function organize_longitudinal of the scaling_cli.py script.
Are you planning to submit a Pull Request?
Describe the bug
The
scaling_cli.pyscripts expect that every (subject, session, modality) is unique, which is by default not the case when diffusion have been made using TOPUP technique (there are et least two diffusion images per (subject, session)).Expected behavior
Contrary to other cases where extra filtering may solve the issue, it is impossible for TOPUP. But maybe a solution for more cases would be nice?
Module and lines involved
The function
organize_longitudinalof thescaling_cli.pyscript.Are you planning to submit a Pull Request?