Kaynağa Gözat

Added fix for missing dbs

Stephen Ficklin 6 yıl önce
ebeveyn
işleme
4a06c12e72

+ 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 {