-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
pcpostprocess/pcpostprocess/leak_correct.py
Lines 40 to 46 in e22d3d3
| QC_dict = {} | |
| for well in QC: | |
| for sweep in QC[well]: | |
| if all(sweep): | |
| if bounds['Rseal'][0] < sweep[0] < bounds['Rseal'][1] and \ | |
| bounds['Cm'][0] < sweep[1] < bounds['Cm'][1] and \ | |
| bounds['Rseries'][0] < sweep[2] < bounds['Rseries'][1]: |
Given that sweep is meant to be a tuple (Rseal, Cm, Rseries)
Does the syncropatch stick 0s in there somewhere? or False?
(also line above should be e.g. for well, sweep in QC.items() to avoid the dict lookup)
Metadata
Metadata
Assignees
Labels
No labels