brainreg icon indicating copy to clipboard operation
brainreg copied to clipboard

[BUG] NiftyReg doesn't deal with spaces in file names

Open adamltyson opened this issue 5 years ago • 6 comments

As with amap, see https://github.com/SainsburyWellcomeCentre/amap-python/issues/56

adamltyson avatar Jul 14 '20 12:07 adamltyson

I think this can be solved by just adding quotes to the paths sent to niftyreg.

adamltyson avatar Jun 18 '21 08:06 adamltyson

This is also an issue if brainreg is installed in a directory with spaces, as the path to niftyreg is used as a command to bash/cmd.

adamltyson avatar Jul 01 '21 16:07 adamltyson

Fixed in 649a91540c3918a755438cacc9932193a7ef9d5d

adamltyson avatar Aug 12 '21 15:08 adamltyson

Not fully fixed - output files are incorrectly named.

adamltyson avatar Feb 14 '22 12:02 adamltyson

Closing this because I can't see any issue with the output filenames when the input has a space in the name. Can always reopen if we notice something.

adamltyson avatar May 21 '24 11:05 adamltyson