Skip to content

Commit 0a11089

Browse files
author
Joseph G. Shuttleworth
committed
Use D2SQC values to get protocol names
1 parent 92410b9 commit 0a11089

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pcpostprocess/scripts/run_herg_qc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def main():
324324
logging.info(f"passed_QC_Erev_spread {passed_QC_Erev_spread}")
325325

326326
# R_leftover only considered for protocols used for QC (i.e. staircase protocols)
327-
passed_QC_R_leftover = np.all(sub_df[sub_df.protocol.isin(args.D2SQC)]
327+
passed_QC_R_leftover = np.all(sub_df[sub_df.protocol.isin(args.D2SQC.values())]
328328
["R_leftover"].values
329329
)
330330

0 commit comments

Comments
 (0)