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

Permission denied when trying to open git annexed file #251

Closed
JayHennessy opened this issue Sep 16, 2020 · 1 comment
Closed

Permission denied when trying to open git annexed file #251

JayHennessy opened this issue Sep 16, 2020 · 1 comment

Comments

@JayHennessy
Copy link

In the function /nidm/experiment/Utils/ map_variables_to_terms.py (line 905) the function tries to read the source json with mode "r+" but this is causing a permission denied error with my dataladed dataset since the files are locked.

I think if this is changed to "r" instead of "r+" it should fix the issue. We don't need to write to the file at this point anyway.

Best,
Jay

@dbkeator
Copy link
Contributor

dbkeator commented Mar 15, 2021

Thanks for the bug report and suggested fix. This has been fixed in the latest version (>= v3.7..3)

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

2 participants