Quellcode durchsuchen

Merge pull request #329 from almasaeed2010/patch-1

Fix path in module load function in phylotree importer
Stephen Ficklin vor 7 Jahren
Ursprung
Commit
ee1868092b
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      tripal_chado/api/modules/tripal_chado.phylotree.api.inc

+ 2 - 2
tripal_chado/api/modules/tripal_chado.phylotree.api.inc

@@ -859,7 +859,7 @@ function tripal_phylogeny_import_tree_file($file_name, $format, $options = array
     // Parse the file according to the format indicated.
     if ($format == 'newick') {
       // Parse the tree into the expected nested node format.
-      module_load_include('inc', 'tripal_phylogeny', 'includes/parsers/tripal_phylogeny.newick_parser');
+      module_load_include('inc', 'tripal_chado', 'includes/loaders/tripal_chado.phylotree_newick');
       $tree = tripal_phylogeny_parse_newick_file($file_name);
 
       // Assign the right and left indecies to the tree ndoes
@@ -873,4 +873,4 @@ function tripal_phylogeny_import_tree_file($file_name, $format, $options = array
     $transaction->rollback();
     watchdog_exception('tripal_phylogeny', $e);
   }
-}
+}