浏览代码

Added fix for missing dbs

Stephen Ficklin 6 年之前
父节点
当前提交
4a06c12e72
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      tripal_chado/includes/TripalImporter/OBOImporter.inc

+ 4 - 0
tripal_chado/includes/TripalImporter/OBOImporter.inc

@@ -1571,6 +1571,10 @@ class OBOImporter extends TripalImporter {
         }
         $stanza['db_name'][] = $short_name;
       }
+      
+      // Make sure the db for this term is added to Chado. If it already is
+      // then this function won't re-add it.
+      $this->addDB($short_name);
     }
     // If there is no DB short name prefix for the id.
     else {