Skip to content

Commit cf4a344

Browse files
authored
Merge pull request #50 from CellKai/issue-43
Re-remove create_directory()
2 parents 4e99762 + a49dac3 commit cf4a344

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/imcflibs/pathtools.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -357,18 +357,6 @@ def folder_size(source):
357357
return total_size
358358

359359

360-
def create_directory(new_path):
361-
"""Create a new directory if it does not already exist.
362-
363-
Parameters
364-
----------
365-
new_path : str
366-
Path to the new directory.
367-
"""
368-
if not os.path.exists(new_path):
369-
os.makedirs(new_path)
370-
371-
372360
# pylint: disable-msg=C0103
373361
# we use the variable name 'exists' in its common spelling (lowercase), so
374362
# removing this workaround will be straightforward at a later point

0 commit comments

Comments
 (0)