Browse Source

Fixed GO bug

Stephen Ficklin 8 năm trước cách đây
mục cha
commit
3c9223f5df
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tripal_chado/includes/loaders/tripal_chado.obo_loader.inc

+ 1 - 1
tripal_chado/includes/loaders/tripal_chado.obo_loader.inc

@@ -909,7 +909,7 @@ function tripal_cv_obo_process_term($term, $defaultcv, $is_relationship = 0, &$n
       // sequence ontology that uses has_part as primary relationship between
       // terms. So, when loading the GO, we'll not include has_part
       // relationships.
-      if ($rel == 'has_part' and $cvterm->dbxref_id->db_id->name = 'GO') {
+      if ($rel == 'has_part' and $cvterm->dbxref_id->db_id->name == 'GO') {
         continue;
       }
       if (!tripal_cv_obo_add_relationship($cvterm, $defaultcv, $rel, $object, $is_relationship, $default_db)) {