-
Notifications
You must be signed in to change notification settings - Fork 14
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
Overhaul global filtering of participants #344
Overhaul global filtering of participants #344
Conversation
b7e52cb
to
95240f9
Compare
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 largely looked good to me - I just wanted to take another look through it before approving it to make sure I didn't miss anything. Thanks for tackling this!
Just want a second review on this one. @Bradley-Karat, @myousif9, are one of you able to take a look? |
Everything looks good to me! |
ee116bb
to
2559b09
Compare
--participant-filter and --exclude-participant filter have had a couple of bugs over the past few versions: 1. Both terms would apply to every single component, even components without the subject entity. These components would have all of their entries filtered out 2. Using --exclude-participant-filter would turn on regex matching mode for every single filter. This changed the meaning of the filters (e.g. allowing partial matches), leading to workflow disruption The overhaul fixes both bugs, while improving the organization of the input generation code. Additionally, the documentation states the magic filter `regex_search: True` can be used to enable regex searching for a block of filters. This hasn't worked for the past few versions. Rather than fix it, the behaviour has been silently disabled in preparation for an overhaul of the regex filtering api. Mention of this feature has been removed from documentation Resolves khanlab#303 Resolves khanlab#216
2559b09
to
0adbef1
Compare
--participant-filter and --exclude-participant filter have had a couple of bugs over the past few versions:
The overhaul fixes both bugs, while improving the organization of the
input generation code.
Additionally, the documentation states the magic filter
regex_search: True
can be used to enable regex searching for a block of filters. This hasn't worked for the past few versions. Rather than fix it, the behaviour has been silently disabled in preparation for an overhaul of the regex filtering apiResolves #303
Resolves #216