dasmoth / dalliance

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

Reference in Dalliance (not export) shifts when clicking Export button #133

Closed dlrice closed 9 years ago

dlrice commented 9 years ago

I've noticed that the reference can shift when getting ready to export an image (though the exported image looks good). I suspect this is related to #132

Browser: Firefox

  1. Load http://www.biodalliance.org/datasets/bodymap-skeletal_muscle-chr22.bam as a binary file.
  2. Visit 22:29,999,581
  3. Zoom in all the way image
  4. Notice that the edge of the reads finish at 22:29,999,578
  5. Click print/export icon
  6. Select image
  7. Visit 22:29,999,611 image
  8. Click export button image

You should now see that the reference has shifted so that 22:29,999,581 is at the centre of the screen while the reads haven't followed (a noticeable difference is that the reads now finish at 22:29,999,548). This shift is also retained when closing the export menu. The export does look lined up properly though. image

dasmoth commented 9 years ago

Thanks very much for reporting this. As you say, it's related to a not-quite-correct fix for #132. Should be okay now.