Skip to content

Commit

Permalink
fixes python2 makedirs(exist_ok)
Browse files Browse the repository at this point in the history
fixes #46
  • Loading branch information
rijobro committed Jun 4, 2020
1 parent d3d6b15 commit c777af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/Synergistic/BrainWeb-single_slice_motion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"source": [
"data_path = path.join(examples_data_path('Synergistic'), 'brainweb_single_slice')\n",
"if not path.isdir(data_path):\n",
" os.makedirs(data_path, exist_ok=True)\n",
" os.makedirs(data_path)\n",
"os.chdir(data_path)\n",
"\n",
"fname, url= sorted(brainweb.utils.LINKS.items())[0]\n",
Expand Down

0 comments on commit c777af2

Please sign in to comment.