dasmoth / dalliance

Interactive web-based genome browser.
http://www.biodalliance.org/
BSD 2-Clause "Simplified" License
226 stars 68 forks source link

Handle the case when someone tries to visit a location where newMin > ne... #129

Closed dlrice closed 9 years ago

dlrice commented 9 years ago

...wMax or newMin = newMax.

Dalliance hangs if you enter a chromosome location where

newMin > newMax or newMin = newMax

Added a small check in cbrowser.js/setLocation with appropriate swapping/perturbation.