Skip to content

Commit

Permalink
changed the error message and fixed a bug in a file name
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaule committed Jul 28, 2016
1 parent bf5802e commit cd9a4d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/make_FTP_sites.pl
Original file line number Diff line number Diff line change
Expand Up @@ -987,11 +987,11 @@ sub copy_misc_files{
next if exists $skip_species{$k};
next if @only_species and not exists $only_species{$k};

my $source = $v->misc_output . '/protein_domain.tvs';
my $source = $v->misc_output . '/protein_domain.tsv';
my $target = "$targetdir/species/".$v->full_name(-g_species => 1).'/'.$v->ncbi_bioproject.'/annotation/'.
$v->full_name(-gspecies => 1).'.'.$v->ncbi_bioproject.'.'.$WS_version_name.'.protein_domains.tsv';
if (-e $source){$wormbase->run_command("cp -f $source $target",$log)}
else{$log->write_to("cannot find $source file\n")}
else{$log->write_to("ERROR: cannot find $source file\n")}
}

$runtime = $wormbase->runtime;
Expand Down

0 comments on commit cd9a4d9

Please sign in to comment.