Ripkelab/ricopili

Syntax error in filtnorm_filter

robkar opened this issue · 0 comments

A perl syntax error was recently introduced in filtnorm_filter here:

print "$icc lines read\n" if ($icc % 10000 == 0) if ($debug);

Either of
print "$icc lines read\n" if ($icc % 10000 == 0 && $debug);
or
do {print "$icc lines read\n" if ($icc % 10000 == 0)} if ($debug);
should work better.