Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recomputing pooling values creates overlapping plots #206

Closed
ElDeveloper opened this issue Feb 21, 2018 · 4 comments
Closed

Recomputing pooling values creates overlapping plots #206

ElDeveloper opened this issue Feb 21, 2018 · 4 comments

Comments

@ElDeveloper
Copy link
Member

It is mostly noticeable on the colorscale.

@AmandaBirmingham
Copy link
Collaborator

To reproduce:

  • Go to Pools > Pool library plates
  • Choose "Shotgun library plates" in the Plate Type dropdown
  • Click the "Add Plate" button
  • Click the "Add" icon for plate 26
  • Choose "Equal volume" in the Pooling Function dropdown
  • Click "Compute pooling values"
  • After graphics are displayed, return to Pooling Function dropdown and select "Minimum Volume"
  • Click "Compute pooling values"

This produces overlap in the graphics, as shown here:
screen shot 2018-03-13 at 4 09 16 pm

@AmandaBirmingham
Copy link
Collaborator

Ok, I think I see what's driving this:
https://github.com/jdereus/labman/blob/0b36cfb63e8222f078f2479c9651e225864fb9c1/labman/gui/static/js/labman.js#L298
.... gets the pool results element, and then
https://github.com/jdereus/labman/blob/0b36cfb63e8222f078f2479c9651e225864fb9c1/labman/gui/static/js/labman.js#L324-L325
... appends a heatmap and histogram to this element, but there is no step that cleans the contents of the pool results element out if createHeatmap has been called on the page before. Hopefully pretty easy to fix.

@ElDeveloper or @tanaes please clarify the desired behavior: do we want the plots to show ONLY the visualization of the most recently computed pooling values?

@ElDeveloper
Copy link
Member Author

@AmandaBirmingham, that does look like the problem 👍

Yes, I believe we only want to show the visualization of the most recently computed pooling values.

@tanaes
Copy link
Collaborator

tanaes commented Mar 14, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants