I'm trying to run the following command in the terminal:
bet "C:\Users\user\Jupyter\Data\PROGRESSION\0012\t1ce_isotropic.nii.gz" "C:\Users\user\Jupyter\Data\PROGRESSION\0012\fet_brain.nii.gz" -R -f 0.3 -o -mBut I get the following error
Error: input image C:\Users\kated\Jupyter\ThesisData\PROGRESSION 1ce_isotropic not validA little research showed that using single quotes here should do the trick (since I have no other single quotes in my string), but after changing to single quotes, the same error persists.
What am I doing wrong?
31 Answer
Since you posted this in AskUbuntu, I'm going to assume you are running Ubuntu, not Windows.
In Ubuntu, the path separator character is / not \ and \ is an escape character. I suggest you try replacing all the \ characters with / and see if that helps. Ironically, this would probably work in Windows too.