schuderer/mllaunchpad

FileDataSink should create missing directories in path

schuderer opened this issue · 0 comments

That way, users don't need to worry about creating any missing intermediate directories.

e.g.

ds_dir = os.path.dirname(ds_config["path"])
if not os.path.exists(ds_dir):
    os.makedirs(ds_dir)