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

synergistic/BrainWeb-single_slice_motion.ipynb fails on python 2 due to os.makedirs #46

Closed
KrisThielemans opened this issue Jun 4, 2020 · 1 comment · Fixed by #47
Closed

Comments

@KrisThielemans
Copy link
Member

code is

if not path.isdir(data_path):
    os.makedirs(data_path, exist_ok=True)

This fails on Python 2 as exist_ok didn't exist (...). However, it seems unnecessary as we check existence first.

rijobro added a commit that referenced this issue Jun 4, 2020
@KrisThielemans
Copy link
Member Author

same for Brainweb

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

Successfully merging a pull request may close this issue.

1 participant