Skip to content

Commit

Permalink
addressing issue #635
Browse files Browse the repository at this point in the history
  • Loading branch information
KatharinaHoff committed Dec 22, 2023
1 parent e8c5ba4 commit 35d83f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/braker.pl
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@
exit(0);
}

if( $soft_off ) {
if( $soft_off == 1 ) {
$soft_mask = 0;
}

Expand Down Expand Up @@ -3293,8 +3293,8 @@ sub check_options {
= "\# "
. (localtime)
. ": ERROR: in file " . __FILE__ ." at line ". __LINE__ ."\n"
. "--UTR=on has been set but --softmasking has not been enabled. "
. "A softmasked genome file and the option --softmasking and a "
. "--UTR=on has been set and --softmasking_off has been enabled. "
. "A softmasked genome file and the not the option --softmask_off and a "
. "bam file must be provided in order to run --UTR=on (in contrast "
. "to other modes, where a hints file can replace the alignment "
. "file, the bam file is strictly required for UTR training).\n";
Expand Down

0 comments on commit 35d83f6

Please sign in to comment.