Commit cc8e54f2 authored by Clément Haëck's avatar Clément Haëck
Browse files

Add check output file

parent 8040e37b
......@@ -129,6 +129,7 @@ for idx in hf.idx.values:
args['Y'] = args['year']
ofile = lib.data.HF_inv.get_filename(args)
lib.check_output_dir(ofile, file=True)
with open(ofile, 'w') as f:
for t in inv_times:
print(*t, file=f)
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