bidskit icon indicating copy to clipboard operation
bidskit copied to clipboard

IntendedFor fields with incorrect slash when running in Windows

Open alexsayal opened this issue 1 year ago • 0 comments

Hello,

When using bidskit in Windows, an issue with the IntendedFor path occurs. As the code is using the os package, the IntendedFor field is filled with a path in Windows format: ses-01\\func\\*.bold.nii.gz which is not valid in BIDS.

I think this is easily solved by replacing the \\ with / before writing to the JSON file here, but I would like your opinion.

Best regards,

alexsayal avatar May 05 '23 17:05 alexsayal