UofS-Pulse-Binfo / rawphenotypes

A Tripal module for storing raw phenotypic data. Specifically meant to help researchers contribute raw data, visualize summaries and download for further analysis.
2 stars 2 forks source link

Issue #51 : Update api using tripal get cvterm and tripal get cv. #52

Closed reynoldtan closed 6 years ago

reynoldtan commented 6 years ago

Added a check to see if the new Tripal API is supported by replacing any implementation of tripal_get_cvterm or tripal_get_cv with the following code snippet:

if (function_exists('chado_get_cvterm')) { $var = chado_get_cvterm( ... ); } else { $var = tripal_get_cvterm( ... ); }