Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntendedFor fields with incorrect slash when running in Windows #121

Open
alexsayal opened this issue May 5, 2023 · 0 comments
Open

IntendedFor fields with incorrect slash when running in Windows #121

alexsayal opened this issue May 5, 2023 · 0 comments

Comments

@alexsayal
Copy link
Contributor

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant