We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 689e4c3 + 0187549 commit cee71fdCopy full SHA for cee71fd
2 files changed
pcpostprocess/scripts/run_herg_qc.py
@@ -402,7 +402,7 @@ def agg_func(x):
402
x = x.values.flatten().astype(bool)
403
return bool(np.all(x))
404
405
- qc_df[qc_criteria] = qc_df[qc_criteria].astype(bool)
+ qc_df[qc_criteria] = qc_df[qc_criteria].apply(lambda column: [elem == 'True' or elem is True for elem in column])
406
407
qc_df['protocol'] = ['staircaseramp1_2' if p == 'staircaseramp2' else p
408
for p in qc_df.protocol]
tests/.DS_Store
-6 KB
0 commit comments