Browse Source

Several fixes to OBOImporter v.2

dsenalik 4 years ago
parent
commit
d5d420a9a6
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

@@ -894,6 +894,10 @@ class OBOImporter extends TripalImporter {
         and array_key_exists('obo_name', $this->arguments['run_args'])) {
       $namespace = $this->arguments['run_args']['obo_name'];
     }
+    if (!$namespace and array_key_exists('run_args', $this->arguments)
+        and array_key_exists('uobo_name', $this->arguments['run_args'])) {
+      $namespace = $this->arguments['run_args']['uobo_name'];
+    }
 
     // If we can't find the namespace or the short_name then bust.
     if (!$namespace and !$short_name) {