Skip to content

Fix case missing gene symbol chicken phenotypes ENSVAR-1506

Created by: ima23

Description

A bug was discovered when using the phenotype endpoint with a gene which does not have a gene symbol and include_associated option.

Use case

Retrieve phenotypes and associated phenotypes for genes without gene symbol.

Benefits

Code works as expected displaying the assigned phenotypes even when the request is using a gene without a gene symbol and include_associated option is turned on.

Possible Drawbacks

None.

Testing

Additional test and test data was added.

If so, do the tests pass/fail? Yes, tests pass against release/96. https://travis-ci.org/ima23/ensembl-rest/builds/493864670

Have you run the entire test suite and no regression was detected? Yes.

Changelog

No functionality was changed.

Merge request reports