@@ -382,7 +382,7 @@ def main():
382382
383383 qc_styled_df = create_qc_table (qc_df )
384384 logging .info (qc_styled_df )
385- qc_styled_df .to_excel (os .path .join (output_dir , 'qc_table.xlsx' ))
385+ # qc_styled_df.to_excel(os.path.join(output_dir, 'qc_table.xlsx'))
386386 qc_styled_df .to_latex (os .path .join (output_dir , 'qc_table.tex' ))
387387
388388 # Save in csv format
@@ -741,14 +741,11 @@ def extract_protocol(readname, savename, time_strs, selected_wells, args, savedi
741741
742742 t_step = times [1 ] - times [0 ]
743743 row_dict ['total before-drug flux' ] = np .sum (current ) * (1.0 / t_step )
744- res = \
745- get_time_constant_of_first_decay (subtracted_trace , times , desc ,
746- args = args ,
747- output_path = os .path .join (savedir ,
748- "debug" ,
749- "-120mV time constant" ,
750- f"{ savename } -{ well } -sweep"
751- f"{ sweep } -time-constant-fit.pdf" ))
744+ res = get_time_constant_of_first_decay (
745+ subtracted_trace , times , desc , args = args ,
746+ output_path = os .path .join (
747+ savedir , 'debug' , '-120mV time constant' ,
748+ f'{ savename } -{ well } -sweep{ sweep } -time-constant-fit.png' ))
752749
753750 row_dict ['-120mV decay time constant 1' ] = res [0 ][0 ]
754751 row_dict ['-120mV decay time constant 2' ] = res [0 ][1 ]
0 commit comments