Browse Source

Get sequence cv from $this->feature_cv

Peter Richter 4 năm trước cách đây
mục cha
commit
7ef8a2b7e6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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];