mercicle / Mu-8

Mu-8 received and honorable mention at the 3rd IEEE Symposium on Biological Data Visualization
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Bug on chords #12

Open nbonneel opened 10 years ago

nbonneel commented 10 years ago

If you click somewhere to deselect the highlighted residues, and then make a new selection of some other residues, the chords disappear

balajipandian commented 10 years ago

What's happening is that when you deselect the highlighted residues, the distance histogram un-brushes itself. Furthermore, if there is nothing brushed, there is no data for the histogram.

There are really two solutions to this problem.

  1. Leave the histogram brushed even if no parts of the main sequence are brushed and the histogram has no bars inside of it.
  2. "Remember" the last extent of the brushed histogram and redraw it when the main sequence is brushed. (This is harder than the previous solution)