[SyneRBI/SIRF-Exercises] synergistic/BrainWeb-single_slice_motion.ipynb fails on python 2 due to os.makedirs (#46)

0 views
Skip to first unread message

Kris Thielemans

unread,
Jun 4, 2020, 5:44:30 AM6/4/20
to SyneRBI/SIRF-Exercises, Subscribed

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.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Kris Thielemans

unread,
Jun 4, 2020, 5:56:53 AM6/4/20
to SyneRBI/SIRF-Exercises, Subscribed

same for Brainweb

Richard Brown

unread,
Jun 4, 2020, 9:30:49 AM6/4/20
to SyneRBI/SIRF-Exercises, Subscribed

Closed #46 via #47.

Reply all
Reply to author
Forward
0 new messages