Skip to content
Snippets Groups Projects
Commit 7803bb4c authored by Coda Phillips's avatar Coda Phillips
Browse files

Filter each layer

parent 04bbe979
No related branches found
No related tags found
No related merge requests found
...@@ -63,6 +63,8 @@ class BaseCheckList: ...@@ -63,6 +63,8 @@ class BaseCheckList:
return frame return frame
def compute(self, frame): def compute(self, frame):
# Filter bad records from previous level
filtered_frame = frame.ix[frame.qc_percent < 1].copy()
for check in self.checks: for check in self.checks:
frame = check(frame, self.parameters) filtered_frame = check(filtered_frame, self.parameters)
return self.update_qc_percent(frame) return self.update_qc_percent(frame.combine_first(filtered_frame))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment