Skip to content

Commit

Permalink
Add corOutCoverage=all, where all is 9999.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwalenz committed Aug 8, 2017
1 parent 7d4c241 commit fb47d4a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pipelines/canu/Defaults.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,10 @@ sub checkParameters () {

foreach my $var ("corOutCoverage") {
if (!defined(getGlobal($var))) {
addCommandLineError("ERROR: Invalid 'corOutCoverage' specified (" . getGlobal("corOutCoverage") . "); must be at least 1.0\n");
addCommandLineError("ERROR: Invalid 'corOutCoverage' specified; must be at least 1.0\n");
}
elsif (getGlobal($var) =~ m/all/i) {
setGlobal($var, 9999);
}
elsif (getGlobal($var) !~ m/^[.-0123456789]/) {
addCommandLineError("ERROR: Invalid '$var' specified (" . getGlobal("$var") . "); must be numeric\n");
Expand Down

0 comments on commit fb47d4a

Please sign in to comment.