-
Notifications
You must be signed in to change notification settings - Fork 240
Sequential curation #4298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Sequential curation #4298
Conversation
|
And so I lost the debate... |
| elif operator == "median": | ||
| arr = np.median(wfs, axis=0) | ||
| elif "percentile" in operator: | ||
| _, percentile = operator.splot("_") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<3
| tmp_data["templates_multi"] = templates_multi | ||
| tmp_data["channel_locations_multi"] = channel_locations_multi | ||
| tmp_data["depth_direction"] = self.params["depth_direction"] | ||
| tmp_data["depth_direction"] = self.params.get("depth_direction") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was giving a bug when loading analyzers from old versions of si
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets pur a comment in the code the why of the get()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was for backwards compatibility - now moved a fix to the _handle_backward_compatibility_on_load function, so it makes more sense why it happens.
Fixes #4296
Extends curation to a
SequentialCuration, which contains a list ofCurationModelsteps that are applied in sequence