Skip to content
Snippets Groups Projects
Commit 90ff7454 authored by Yifan Zhao's avatar Yifan Zhao
Browse files

Adding slash for concat-ing paths

parent 115162ac
No related branches found
No related tags found
No related merge requests found
......@@ -196,7 +196,7 @@ def loadConfigsFromDir(result_dir, baseline_accuracy):
for fname in file_names:
if not skipFile(fname):
fpath = result_dir + fname
fpath = result_dir + '/' + fname
config = Config()
f = open(fpath, "r")
......
......@@ -200,8 +200,8 @@ def dumpParetoConfigsToDir(input_dir, output_dir, gold_accuracy):
print ("len(ASC) = ", len(ASC))
for conf in ASC:
src_path = input_dir + conf.name
dst_path = output_dir + conf.name
src_path = input_dir + '/' + conf.name
dst_path = output_dir + '/' + conf.name
shutil.copy(src_path, dst_path)
return ASC
......
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