Skip to content

Commit

Permalink
Merge pull request #762 from at7/bug106/funcgen_pipeline
Browse files Browse the repository at this point in the history
catch case where mf_start is negative
  • Loading branch information
dglemos committed Oct 6, 2021
2 parents d913a03 + 5b950cd commit 66166c2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ sub motif_start {
# check that we're in bounds

return undef if $mf_start > $mf->length;
return undef if $mf_start < 1;
$self->{motif_start} = $mf_start;
}
return $self->{motif_start};
Expand Down

0 comments on commit 66166c2

Please sign in to comment.