Repository navigation
Fix the examples that failed the first live test - #38
Merged
Merged
Conversation
WPQ019 defaults to CPTAC (the AOP community has no protein nodes), WPQ027 is deprecated (no Reactome-approved pathways left), and WPQ033/WPQ034 follow MolMeDB's https IRIs and skos:closeMatch links to PubChem.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The first scheduled live test (run 43878344959) failed on 6 of 83 examples. This fixes the four that failed because of the data rather than the remote services.
WPQ019 used AOP as its default community, but the AOP-tagged pathways contain no wp:Protein nodes, so it returned nothing. The default is now CPTAC (5917 rows).
WPQ027 looks for pathways tagged Curation:Reactome_Approved. That tag is no longer in the data, so the example is marked deprecated, with the reason in its description.
WPQ033 and WPQ034: MolMeDB now uses https://identifiers.org/molmedb/ IRIs and links compounds to PubChem with skos:closeMatch instead of skos:exactMatch. With both changes they return 41 and 1 rows again.
The other two failures came from the remote services. WPQ024 (LIPID MAPS) timed out once and passes now. WPQ075 depends on how fast Wikidata answers: the same query took 3.5 s on one try and timed out on another. A retry for federated examples in the live test would stop those false alarms, but that is not part of this PR.
Checked with snorql_examples.py v1.4.0: check and versions pass, and live --only on the three changed active examples passes.