Skip to content
Snippets Groups Projects
Commit d965a55b authored by Karl-Hermann Wieners's avatar Karl-Hermann Wieners
Browse files

mkexp: Changed to suppress 'exist' warning if data dir is prefix of script dir

parent b0f0ada5
No related branches found
No related tags found
No related merge requests found
......@@ -181,7 +181,7 @@ data_dir = config['DATA_DIR']
print "Data directory: '"+data_dir+"'"
if not os.path.isdir(data_dir):
os.makedirs(data_dir)
else:
elif not script_dir.startswith(data_dir):
feedback.warning("data directory already exists")
# Create directory for running the experiment if it doesn't exist
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment