Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions src/imcflibs/pathtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,18 +357,6 @@ def folder_size(source):
return total_size


def create_directory(new_path):
"""Create a new directory if it does not already exist.

Parameters
----------
new_path : str
Path to the new directory.
"""
if not os.path.exists(new_path):
os.makedirs(new_path)


# pylint: disable-msg=C0103
# we use the variable name 'exists' in its common spelling (lowercase), so
# removing this workaround will be straightforward at a later point
Expand Down
Loading