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

report error if qualifiers are wrong in any way #440

Merged
merged 2 commits into from
Apr 3, 2020

Conversation

dougli1sqrd
Copy link
Contributor

…, filter wrong qualifiers

For geneontology/helpdesk#252

This fixes a bug where malformed qualifiers and wrong qualifiers not allowed were all allowed through the parser with no issue.

Qualifiers with spaces will be repaired with underscores.

@dougli1sqrd dougli1sqrd requested a review from kltm April 1, 2020 02:21
@kltm
Copy link
Member

kltm commented Apr 1, 2020

Alas, I trust that this works, but let's add this to the let's-do-after-release pile.

@dougli1sqrd
Copy link
Contributor Author

@kltm what did we decide on this? Are we chucking everything that doesn't fit then (including spaces) and not repairing like your notes? Sorry I didn't take a look at this yesterday and now our convo has faded.

@kltm
Copy link
Member

kltm commented Apr 3, 2020

@dougli1sqrd Going by my notes, it is to be considered an unrecoverable error if something is in that column that does not conform to spec.

@dougli1sqrd
Copy link
Contributor Author

Okay. I'll update the implementation then. Once this is merged I can release ontobio, and update go-site.

@dougli1sqrd dougli1sqrd changed the title report warning if qualifiers have spaces and repaired with underscore… report error if qualifiers are wrong in any way Apr 3, 2020
@dougli1sqrd dougli1sqrd merged commit e009941 into master Apr 3, 2020
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