Skip to content

Commit 46c738d

Browse files
authored
Merge pull request #102 from CardiacModelling/revert-93-js_fix_passed_wells
Fix bug in QC.R_leftover
2 parents 0f31894 + e5ec8a1 commit 46c738d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pcpostprocess/scripts/run_herg_qc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def main():
316316

317317
# R_leftover only considered for protocols used for QC (i.e. staircase protocols)
318318
passed_QC_R_leftover = np.all(sub_df[sub_df.protocol.isin(args.D2SQC.values())]
319-
["R_leftover"].values
319+
["QC.R_leftover"].values
320320
)
321321

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

334334
passed_qc = passed_qc3_bookend and was_selected\
335-
and passed_QC_Erev_all and passed_QC1_all\
336-
and passed_QC_Erev_spread and passed_QC4_all\
337-
and passed_QC6_all and passed_QC_R_leftover
335+
and passed_QC_Erev_all and passed_QC6_all\
336+
and passed_QC_Erev_spread and passed_QC1_all\
337+
and passed_QC4_all
338338

339339
passed_qc_dict[well] = passed_qc
340340

0 commit comments

Comments
 (0)