Skip to content

Commit

Permalink
Merge pull request #3 from 0xAF1F/perl-deprecation
Browse files Browse the repository at this point in the history
main.ratt.pl: Don't use deprecated expression for checking whether an array is empty
  • Loading branch information
ThomasDOtto authored Jun 12, 2017
2 parents e4faaa9 + ad36460 commit ea4e930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ratt.pl
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
($ref_results,$ref_Counting)=adaptAnnotationEMBL($emblDir,$_,$ref_shift2,$ref_results,$ref_Counting);

### cleaning step
if (defined(@{$$ref_shift{$refName}})) {
if (@{$$ref_shift{$refName}}) {
foreach (0..(scalar(@{$$ref_shift{$refName}}))-1) {
undef(@{ $$ref_shift{$refName}[$_]});
}
Expand Down

0 comments on commit ea4e930

Please sign in to comment.