Browse Source

Get sequence cv from $this->feature_cv

Peter Richter 4 years ago
parent
commit
7ef8a2b7e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal_chado/includes/TripalImporter/GFF3Importer.inc

+ 1 - 1
tripal_chado/includes/TripalImporter/GFF3Importer.inc

@@ -2277,7 +2277,7 @@ class GFF3Importer extends TripalImporter {
    */
   private function getCvtermID($type, $cv_id = NULL, $is_prop_type = FALSE) {
     if (!isset($cv_id)) {
-      $cv_id = $this->sequence_cv_id;
+      $cv_id = $this->feature_cv->getValue('cv_id');
     }
     if ($is_prop_type and array_key_exists($type, $this->featureprop_cvterm_lookup)) {
       return $this->featureprop_cvterm_lookup[$type];