Browse Source

Added fix for missing dbs

Stephen Ficklin 6 years ago
parent
commit
4a06c12e72
1 changed files with 4 additions and 0 deletions
  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 {