Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pcpostprocess/scripts/run_herg_qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def main():

# R_leftover only considered for protocols used for QC (i.e. staircase protocols)
passed_QC_R_leftover = np.all(sub_df[sub_df.protocol.isin(args.D2SQC.values())]
["R_leftover"].values
["QC.R_leftover"].values
)

logging.info(f"passed_QC_R_leftover {passed_QC_R_leftover}")
Expand All @@ -332,9 +332,9 @@ def main():
was_selected = np.all(sub_df['selected'].values)

passed_qc = passed_qc3_bookend and was_selected\
and passed_QC_Erev_all and passed_QC1_all\
and passed_QC_Erev_spread and passed_QC4_all\
and passed_QC6_all and passed_QC_R_leftover
and passed_QC_Erev_all and passed_QC6_all\
and passed_QC_Erev_spread and passed_QC1_all\
and passed_QC4_all

passed_qc_dict[well] = passed_qc

Expand Down