export phenotype ontology accessions
Compare changes
Files
4@@ -221,6 +221,7 @@ sub fetch_features_by_gene {
@@ -269,6 +270,7 @@ sub fetch_features_by_gene {
Created by: ima23
The phenotype REST endpoint retrieves the existing phenotypes but currently does not report the associated ontology accession terms. This is now being updated.
The endpoint functionality stays the same.
The result of the endpoint will now also contain ontology accessions.
None.
Yes. The corresponding tests have been updated.
If so, do the tests pass/fail?
Tests pass with release/93 branch code.
Have you run the entire test suite and no regression was detected?
Yes.
Are you changing the functionality of an endpoint? If so, please give a one line summary for the public facing changelog.
The endpoint functions as before, just the output is enriched with accession terms if they exist.
Created by: nerdstrike
On balance, perhaps _include_ontology() should not have an underscore prefix if it was intended to be called from outside the object. I won't ask you to change it here, but it is unconventional
Created by: ima23
Thanks for checking @nerdstrike. Yes, well spotted and totally agree. Will sort this out in one of the future releases, as it involves deeper look into the API.