Browse Source

Fixed bug when adding properties from GFF loader

spficklin 12 năm trước cách đây
mục cha
commit
ad26575c11
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      tripal_feature/includes/gff_loader.inc

+ 3 - 1
tripal_feature/includes/gff_loader.inc

@@ -1508,8 +1508,10 @@ function tripal_feature_load_gff3_property($feature, $property, $value) {
       watchdog("T_gff3_loader", "Cannot add cvterm, $property", array(), WATCHDOG_WARNING);
       return 0;  
     }
+  } 
+  else {
+    $cvterm = $result[0];
   }
-  $cvterm = $result[0];
   
 
   // check to see if the property already exists for this feature