dariober / ASCIIGenome

Text Only Genome Viewer!
http://asciigenome.readthedocs.io/en/latest/description.html
MIT License
206 stars 14 forks source link

Track height set to 0 on start #85

Open dariober opened 6 years ago

dariober commented 6 years ago

Loading several tracks at the start sets some of them to height 0 making them invisible. Tracks are actually loaded fine and they can be seen with trackHeight 1 but this is annoying. Probably the bug is in the initial calculation of track height rounding some tracks to 0.

Steps to reproduces:

ASCIIGenome 1.14.0

mkdir beds && cd beds
for i in {1..50}
do 
echo -e "chr1\t1\t100" > ${i}.bed
done

ASCIIGenome *.bed