Skip to content
Snippets Groups Projects
Commit d6247124 authored by Andy Yates's avatar Andy Yates
Browse files

Setting small start to 0. This should be a safe thing to do looking at the currently logic usage.

parent c8fe34da
No related branches found
No related tags found
No related merge requests found
......@@ -151,7 +151,7 @@ while ( my $slice = shift @sorted_slices ) {
my $chunk_end = 0;
my $variable_end = 0;
my $small_end = 0;
my ( $small_start );
my $small_start = 0;
my $repeat_size;
my $variable_start = 0;
my $variable_blocksize = POSIX::ceil( $slice->seq_region_length() /
......@@ -208,7 +208,7 @@ while ( my $slice = shift @sorted_slices ) {
warning("No repeat density calculated for ".$slice->name." (chunk start $chunk_start, chunk end $chunk_end).");
}
my $used_lower_limit = $small_start<$variable_start?$small_start:$variable_start;
my $used_lower_limit = $small_start < $variable_start ? $small_start : $variable_start;
# here some rr cleanup
$rr->check_and_register( "1", 0, $used_lower_limit );
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment