-
Notifications
You must be signed in to change notification settings - Fork 2
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
Issue with format file extensions #19
Comments
@matuskalas - a small detail - do we give e.g. ".txt" "txt" or both ? (prob. both?) |
@albangaignard for my first foray in SPARQL, I'm tackling this query, which addresses (from above):
but I notice that the pattern for the While this is compact / looks nice, it rather complicates the semantics and downstream uses: I think @matuskalas the right course is to refactor EDAM so that one extension is given per
Thoughts please! |
PS. @albangaignard my hunch is that most or all the checks will require some Python programming, so your suggestion to use Jupyter notebooks is a very good one! |
UPDATE I just finished the query, taking the decision that only lowercase alphanumeric characters are allowed in EDAM Format file extensions. cc @matuskalas @veitveit This being my first foray into Python and SPARQL in case you have time @albangaignard @hmenager or @hansioan I'd much appreciate some feedback on the quality of the code, which is included here (from this Juypter notebook). |
Just added check that label or exact synonym is defined that matches the file extension, see this notebook |
From edamontology/edamontology#421:
file_extension
in EDAM must be given in lower casefile_extension
value also appears inhasExactSynonym
(and preserving the capitalisation variants, e.g. all uppercase - where these are the "canoncical" variant in use)The text was updated successfully, but these errors were encountered: