소스 검색

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 {