merenlab / anvio

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

[BUG] Parent layer bug #2245

Closed FlorianTrigodet closed 3 months ago

FlorianTrigodet commented 3 months ago

Short description of the problem

In the interactive interface, there is a "parent" layer that indicate when splits are coming from the same contig. It is not working properly in the interface at the moment.

anvi'o version

Dev version

Detailed description of the issue

Using the infant gut dataset:

Screenshot 2024-03-25 at 11 51 36

All parent's gray boxes don't align at the right position. It looks like all the withe space (when no parent) are place first (anti-clockwise) and then all the parent gray boxes.

Here is another example on a different dataset:

Screenshot 2024-03-25 at 11 57 04

Files / commands to reproduce the issue

The first screenshot is coming from the infant gut tutorial with anvi-interactive.

metehaansever commented 3 months ago

I solved it! @FlorianTrigodet I'll merge with ui-bug-fix branch. Thanks for catching Florian!