statonlab / tripal_manage_analyses

GNU General Public License v3.0
0 stars 1 forks source link

obi__organism_linker fix for Issue 107 #108

Closed dsenalik closed 3 years ago

dsenalik commented 3 years ago

Changes to the obi__organism_linker field for problems noted in issue #107

The obi__organism_linker tripal field assumes both abbreviation and common_name both exist when formatting the displayed text. If they do not, it only displays a pair of parentheses, although the link works.

I am providing this pull request to use genus and species when these are not present, or call the chado_get_organism_scientific_name() function if it is available to get the full name including infraspecific nomenclature.

almasaeed2010 commented 3 years ago

Perfect. Thanks for the fix!