Commit f91bcf62 authored by Agata Malgorzata Chadaj's avatar Agata Malgorzata Chadaj
Browse files


parent 4126aaed
Pipeline #3175939 canceled with stage
......@@ -32,9 +32,9 @@ def get_result():
def save_json_to_file(args, flag, comment):
file_path = '/eos/home-m/mpesoft/' + ':'.join([args.notebook, args.circuit_name, str(args.discharge_level),
Time.to_unix_timestamp(args.end_time), flag]) + '.csv'
file_path = '/eos/home-m/mpesoft/' + ':'.join([args.notebook, args.circuit_name, args.discharge_level,
str(Time.to_unix_timestamp(args.end_time)), flag]) + '.csv'
df = pd.DataFrame(eval(comment))
with open(file_path, 'a') as f:
df.to_csv(f, mode='a', header=f.tell() == 0)
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