Skip to content

Commit

Permalink
del. duplicated subroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
Pombert-JF committed May 27, 2022
1 parent 594524d commit 352cd39
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions Homology_search/run_foldseek.pl
Original file line number Diff line number Diff line change
Expand Up @@ -185,19 +185,6 @@
print LOG "Total run time: $endtime minutes\n";
close LOG;

### Sub
sub checksig {

my $exit_value = $?;
my $modulo = $exit_value % 255;

if ($modulo == 2) {
print "\n\nSIGINT detected: Ctrl+C. Exiting...\n\n";
exit(1);
}

}

### Subroutine(s)
sub checksig {

Expand Down

0 comments on commit 352cd39

Please sign in to comment.