Skip to content

Commit

Permalink
Make scripts work better with collection core databases
Browse files Browse the repository at this point in the history
Use SiteDefs PRODUCTION_NAMES as it contains db names (including collections), instead of SpeciesDefs ENSEMBL_DATASETS which contains individual genome names. This wy we can process in bulk instead of every individual genome.
  • Loading branch information
nicklangridge committed Aug 16, 2017
1 parent 189bc22 commit 90132b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utils/google_sitemaps/make_google_sitemap_by_species.pl
Expand Up @@ -102,7 +102,7 @@ BEGIN
my @skip = split /,/, $skip_list;

# create the sitemaps for each dataset
foreach my $dataset (@ARGV ? @ARGV : @{$sd->multi_hash->{'ENSEMBL_DATASETS'}}) {
foreach my $dataset (@ARGV ? @ARGV : @$SiteDefs::PRODUCTION_NAMES) {
next if grep { $_ eq $dataset } @skip;

print "$dataset\n";
Expand Down
2 changes: 1 addition & 1 deletion utils/make_gene_autocomplete.pl
Expand Up @@ -64,7 +64,7 @@ BEGIN
}
}

foreach my $dataset (@ARGV ? @ARGV : @{$sd->multi_hash->{'ENSEMBL_DATASETS'}}) {
foreach my $dataset (@ARGV ? @ARGV : @$SiteDefs::PRODUCTION_NAMES) {
warn "$dataset\n";

my $dbs = $sd->get_config($dataset, 'databases');
Expand Down

0 comments on commit 90132b5

Please sign in to comment.