Commit e9be4d92 authored by Steve Trevanion's avatar Steve Trevanion
Browse files

tidier

parent f236fd57
...@@ -1172,7 +1172,7 @@ sub split_chromosomes_by_size { ...@@ -1172,7 +1172,7 @@ sub split_chromosomes_by_size {
# push small chromosomes onto $small_chr # push small chromosomes onto $small_chr
push @{ $small_chr }, $slice; push @{ $small_chr }, $slice;
} }
if (! $min_big_chr or ($min_big_chr > $slice->length) && $slice->length > $cutoff) { elsif (! $min_big_chr or ($min_big_chr > $slice->length) ){
$min_big_chr = $slice->length; $min_big_chr = $slice->length;
} }
# push _all_ chromosomes onto $big_chr # push _all_ chromosomes onto $big_chr
...@@ -1181,7 +1181,6 @@ sub split_chromosomes_by_size { ...@@ -1181,7 +1181,6 @@ sub split_chromosomes_by_size {
my $chr_slices; my $chr_slices;
$chr_slices->{int($min_big_chr/150)} = $big_chr if $min_big_chr; $chr_slices->{int($min_big_chr/150)} = $big_chr if $min_big_chr;
$chr_slices->{int($min_small_chr/150)} = $small_chr if $min_small_chr; $chr_slices->{int($min_small_chr/150)} = $small_chr if $min_small_chr;
return $chr_slices; return $chr_slices;
} }
......
Markdown is supported
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