Commit 85446eb8 authored by Thomas Maurel's avatar Thomas Maurel
Browse files

The ontology schema patches have been moved from...

The ontology schema patches have been moved from ensembl/misc_scripts/ontology/sql to ols-ensembl-loader/sql
parent faba0de9
......@@ -285,7 +285,7 @@ foreach my $thing ( [ 'ensembl', 'core', 'table.sql' ],
[ 'ensembl-funcgen', 'funcgen', 'table.sql' ],
[ 'ensembl-variation', 'variation', 'table.sql' ],
[ 'ensembl-production', 'production', 'table.sql' ],
[ 'ensembl', 'ontology', 'tables.sql' ] )
[ 'ols-ensembl-loader', 'ontology', 'tables.sql' ] )
{
my ($git_repo, $schema_type, $schema_file) = @{$thing};
......@@ -687,12 +687,7 @@ sub _sql_dir {
$directories = curdir() unless $directories;
$git_dir = catdir($directories, updir(), updir());
}
my $sql_dir;
if ($schema_type eq 'ontology') {
$sql_dir = rel2abs(canonpath( catdir( $git_dir, $git_repo, 'misc-scripts', 'ontology', 'sql' ) ));
} else {
$sql_dir = rel2abs(canonpath( catdir( $git_dir, $git_repo, 'sql' ) ));
}
my $sql_dir = rel2abs(canonpath( catdir( $git_dir, $git_repo, 'sql' ) ));
my $schema_location = catfile($sql_dir, $schema_file);
if(! -f $schema_location) {
if($opt_verbose) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment