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

GoRule 57 update and test for issue #473 #474

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dustine32
Copy link
Collaborator

@dougli1sqrd I'll probably need to update the mgi.yaml and wb.yaml files in go-site as well, right? Example:

filter_for:
  provided_by:
    - MGI

@kltm
Copy link
Member

kltm commented Sep 16, 2020

What's the difference between filter_for and filter_out? We'll also need to add this to the schema (where we also probably want to document).

@dustine32
Copy link
Collaborator Author

@kltm Oh yeah, I forgot to update the datasets.schema.yaml, thanks! I'll make a ticket and PR in go-site for this.

Existing filter_out defines annotation values that would trigger a line to be filtered out, whereas filter_for (maybe we should change this to filter_in) defines annotation values that a line must have to prevent being filtered out.

The example in issue #473 shows filter_for being used to filter the MGI GPAD, keeping only the lines where Provided_by=MGI and excluding all other lines (e.g. UniProt, SynGO).

@kltm
Copy link
Member

kltm commented Sep 16, 2020

@dustine32 Just as a note, I'm fine with properties that have long_and_human_readable_names.
That said, whatever works for you, I just want to make sure that people reading the metadata without all of the context have some idea what's going on (at some point in the future).

@dustine32
Copy link
Collaborator Author

Linking schema PR: geneontology/go-site#1554

@dustine32
Copy link
Collaborator Author

Thinking about changing filter_for to only_allow as @dougli1sqrd suggested. Still brainstorming though.

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.

2 participants