Dear,
I am using the 5ttgen fsl command with the IndexError: list index out of range for the run_first step. How could I fix it? Thanks!
Dear,
I am using the 5ttgen fsl command with the IndexError: list index out of range for the run_first step. How could I fix it? Thanks!
Hi Sunpan,
I would suggest trying the following:
Following these steps resolved a similar issue I encountered.
I hope this helps,
John
Hi @sunpan,
This looks to be an unexpected scenario following #2609, which means it likely affects 3.0.5 and later. That change was intended to improve the interaction between FSL’s run_first_all
, which has a lot of variation in how it executes and whether it fully executes successfully and how this is reported, and MRtrix3 scripts that invoke it.
While I can tweak the code to try to handle this more gracefully, it’s entirely possible that there is nevertheless something else going wrong. What would be useful to know is:
run_first_all
been created successfully?run_first_all
? Is anything produced at the command-line?Thanks
Rob
This change is hopefully all that is required if you want to try just locally modifying your MRtrix3 code.