File tree Expand file tree Collapse file tree
qa-physics/charge_analysis Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ def main():
3232 ''' )
3333 exit (2 )
3434 hipo_file = sys .argv [1 ]
35+ output_suffix = sys .argv [2 ]
3536
3637 hipo_prefix = os .getenv ('HIPO' )
3738 if hipo_prefix == None :
@@ -108,7 +109,7 @@ def main():
108109 ax .tick_params (axis = 'both' , labelsize = 9 )
109110
110111 fig1 .tight_layout (rect = [0 , 0.03 , 1 , 0.95 ])
111- fig1 .savefig (f'fcup_vs_timestamp_{ run_number } .png' , bbox_inches = 'tight' , dpi = 300 )
112+ fig1 .savefig (f'fcup_vs_timestamp_{ run_number } _ { output_suffix } .png' , bbox_inches = 'tight' , dpi = 300 )
112113 plt .close (fig1 )
113114 # ---------- Compute Chunked FCUP Gated with neighbor handling ----------
114115 chunk_size = 2000
@@ -274,7 +275,7 @@ def main():
274275 ax_ltdist .tick_params (axis = 'both' , labelsize = 10 )
275276
276277 fig2 .tight_layout (rect = [0 , 0.03 , 1 , 0.95 ])
277- fig2 .savefig (f'chunked_fcupgated_comparison_{ run_number } .png' , bbox_inches = 'tight' , dpi = 300 )
278+ fig2 .savefig (f'chunked_fcupgated_comparison_{ run_number } _ { output_suffix } .png' , bbox_inches = 'tight' , dpi = 300 )
278279 plt .close (fig2 )
279280
280281
You can’t perform that action at this time.
0 commit comments