Skip to content
Snippets Groups Projects
Commit ee2d4309 authored by Ian Longden's avatar Ian Longden
Browse files

fix bug that if -dumpcheck set and files not found then the script failed...

fix bug that if -dumpcheck set and files not found then the script failed instead of dumping the files
parent 63f42e2f
No related branches found
No related tags found
No related merge requests found
......@@ -232,7 +232,6 @@ sub dump_xref{
if(defined($self->dumpcheck())){
my $skip = 1;
foreach my $list (@lists){
$method[$i] = shift @$list;
if(!-e $xref->dir()."/xref_".$i."_dna.fasta"){
$skip = 0;
}
......@@ -242,6 +241,7 @@ sub dump_xref{
$i++;
}
if($skip){
$method[$i] = shift @$list;
$self->method(\@method);
return;
}
......
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