Browse Source

Fix to OBO loading on Chado setup

Stephen Ficklin 8 years ago
parent
commit
27de91456f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tripal_chado/includes/tripal_chado.setup.inc

+ 3 - 3
tripal_chado/includes/tripal_chado.setup.inc

@@ -133,6 +133,9 @@ function tripal_chado_prepare_chado() {
     // We want to force the version of Chado to be set properly.
     $real_version = chado_get_version(TRUE);
 
+    // Create the temp table we will use for loading OBO files.
+    tripal_chado_add_tripal_obo_temp_table();
+
     // Import commonly used ontologies if needed.
     tripal_chado_load_ontologies();
 
@@ -148,9 +151,6 @@ function tripal_chado_prepare_chado() {
     // Add the cv_root_mview.
     tripal_chado_add_cv_root_mview_mview();
 
-    // Create the temp table we will use for loading OBO files.
-    tripal_chado_add_tripal_obo_temp_table();
-
     // Support for Analyses
     // we may need the analysisfeatureprop table if it doesn't already exist
     tripal_chado_add_analysisfeatureprop_table();