Commit 8aec5506 authored by Fang Yuedong's avatar Fang Yuedong
Browse files

remove redundant dir making

parent 3ed9b904
......@@ -97,14 +97,14 @@ def make_run_dirs(work_dir, run_name, pointing_list):
except OSError:
pass
prefix = "MSC_"
for pointing in pointing_list:
fname=prefix + str(pointing.id).rjust(7, '0')
subImgDir = os.path.join(imgDir, fname)
if not os.path.exists(subImgDir):
try:
os.makedirs(subImgDir, exist_ok=True)
except OSError:
pass
# for pointing in pointing_list:
# fname=prefix + str(pointing.id).rjust(7, '0')
# subImgDir = os.path.join(imgDir, fname)
# if not os.path.exists(subImgDir):
# try:
# os.makedirs(subImgDir, exist_ok=True)
# except OSError:
# pass
return imgDir
def imgName(tt=0):
......
Supports Markdown
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