bidskit
bidskit copied to clipboard
IntendedFor fields with incorrect slash when running in Windows
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,