Skip to content
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

Filter: Add '--query' for complex queries #555

Merged
merged 6 commits into from
May 25, 2020

Conversation

danielsoneg
Copy link

Description of proposed changes

Add a --query flag to augur filter to allow complex querying using Pandas' DataFrame.query method. This is a rehash of #455, cleaned up and updated per comments on that thread.

Related issue(s)

Fixes #244
Related to #455

This is a cleanup and re-submit of #455 following conversations there.

Testing

Ran through the test suite and added unit tests to check this behavior.

Thank you for contributing to Nextstrain!

You're welcome! 😊

@rneher
Copy link
Member

rneher commented May 25, 2020

I think this looks great.

@rneher rneher merged commit 42a26ed into nextstrain:master May 25, 2020
@huddlej
Copy link
Contributor

huddlej commented May 25, 2020

This is slick! Thanks again, @danielsoneg.

@emmahodcroft
Copy link
Member

Thanks so much for your patience and your hard work @danielsoneg !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

augur filter does not support filtering by attribute values
4 participants