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

Conflicting filteringTerms definition in genomicVariations #159

Closed
mbaudis opened this issue Aug 20, 2024 · 3 comments
Closed

Conflicting filteringTerms definition in genomicVariations #159

mbaudis opened this issue Aug 20, 2024 · 3 comments
Labels
bug Something isn't working Filters scout invalid This doesn't seem right Variants scout

Comments

@mbaudis
Copy link
Member

mbaudis commented Aug 20, 2024

While for other entities in the filteringTerms.yaml/json files no values are provided, in .../genomicVariations filteringTerms.yaml there is an odd entry for 2 alphanumeric filters:

filteringTerms:
  - ftType: alphanumeric
    id: gene
  - ftType: alphanumeric
    id: aminoacidChanges

This is very problematic and misleading since:

  • both "filters" have dedicated and documented query parameters (geneId and aminoacidChange)
  • the definition of filtering terms here is exceptional and in contrast to the common use (leave the filter definition to implementations)
  • a definition here could be perceived as "only those values are permitted"

Proposal Remove in hot fix to avoid further confusion.

@mbaudis mbaudis added bug Something isn't working invalid This doesn't seem right Variants scout Filters scout labels Aug 20, 2024
@gsfk
Copy link
Collaborator

gsfk commented Aug 21, 2024

+1 for this.

I also see non-empty filteringTerms.yaml files for cohorts and datasets. They're not as bad as this one, but it's not clear what they're for.

@zykonda
Copy link

zykonda commented Sep 20, 2024

+1 for this, cohorts and datasets.
Both gene and aminoacidChanges in filtering terms look like code refactoring left over.

@mbaudis
Copy link
Member Author

mbaudis commented Nov 5, 2024

This has ben resolved in #167 and should end up in main ASAP.

@mbaudis mbaudis closed this as completed Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Filters scout invalid This doesn't seem right Variants scout
Projects
None yet
Development

No branches or pull requests

3 participants