Explorar o código

Fixed bug when adding properties from GFF loader

spficklin %!s(int64=12) %!d(string=hai) anos
pai
achega
ad26575c11
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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