merenlab / anvio

An analysis and visualization platform for 'omics data
http://merenlab.org/software/anvio
GNU General Public License v3.0
440 stars 145 forks source link

[BUG] The collapse of bins in the interface is unstable and often breaks #2042

Open tdelmont opened 1 year ago

tdelmont commented 1 year ago

Short description of the problem

The collapse of bins in the interface is unstable and often breaks. This is especially the case when trying to collapse multiple bins. It seems that unselecting a bin (in the bin collection) prior to collapsing makes it work much better.

anvi'o version

anvi'o v7.1

System info

Mac

Detailed description of the issue

This is a known problem that prevents especially nice figures for phylogenomics. It relates to the collapsing of bins, which is highly unstable and often breaks. As mentioned above, It seems that unselecting a bin (in the bin collection) prior to collapsing makes it work much better. Maybe this will help finding the issue.

Files to reproduce

Here are the files that can be used for testing:

Archive.zip

metehaansever commented 7 months ago

Hey @tdelmont, I've started working on this issue, but unselect bin is working as it should for me. If this still doesn't work for you (on the master branch) can you share a screenshot that shows the problem more clearly?

FlorianTrigodet commented 3 weeks ago

Here is a screen recording using the above dataset.

https://github.com/user-attachments/assets/3391f5ae-5023-444c-89f0-a94e3672fbcd

Collapse breaks the binning: the layers are not showing up and it is also not possible to save collections. I saw the problem in both v8 (old interface) and in anvio dev version.