Commit 7015b0dd authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files


parent 885cdd00
Pipeline #38383 passed with stage
in 13 minutes and 15 seconds
......@@ -83,6 +83,7 @@ def _is_string(s):
isinstance(s, (bytes, str))
@numpy.deprecate(new_name="os.makedirs(directory, exist_ok=True)")
def create_directories_safe(directory, dryrun=False):
"""Creates a directory if it does not exists, with concurrent access support.
This function will also create any parent directories that might be required.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment