populationgenomics / metamist

Sample level metadata system
MIT License
1 stars 1 forks source link

Fix GenericFilter creating conditional with empty list #744

Closed illusional closed 5 months ago

illusional commented 5 months ago

Closes https://github.com/populationgenomics/metamist/issues/743

Adds a specific check to the GenericFilter for the value for in being empty, which means the rest of the query should resolve to False. Also allow a handy way to check if this is the case, and then you can just return no results (eg: implemented in the sequencing group query method.