This is what you see in the Layers part of the display:
Which is how it looks in the main panel (it is very annoying that what is on top in the display is on bottom in the panel -- it is the same for Items display, but the order there is 'inside-out' -- maybe we should change both, but that is not even the bug I am reporting):
Let's say I changed the position of the Stacked Bar layer:
When I redraw, it indeed works as intended:
Then I save the state, and it is confirmed that it is saved:
I double-checked using anvi-export-state before and after, these changes certainly appear in state. So import/export/save works.
Then I kill the server, and re-run the visualization:
Short description of the problem
Even when the user stores a state file, the interactive interface does not care about the order of layers.
anvi'o version
anvio-dev
System info
This is a os/system independent problem.
Files / commands to reproduce the issue
Here is how one can reproduce this issue. First, generate a test output using
anvi-self-test
with theinteractive-interface
suite:Then visualize the result:
This is what you see in the Layers part of the display:
Which is how it looks in the main panel (it is very annoying that what is on top in the display is on bottom in the panel -- it is the same for Items display, but the order there is 'inside-out' -- maybe we should change both, but that is not even the bug I am reporting):
Let's say I changed the position of the Stacked Bar layer:
When I redraw, it indeed works as intended:
Then I save the state, and it is confirmed that it is saved:
I double-checked using
anvi-export-state
before and after, these changes certainly appear in state. So import/export/save works.Then I kill the server, and re-run the visualization:
The stacked bar layer is back on top:
Matching to the Display of layers:
Despite the state suggests a different order.
This problem does not happen with the display order of items:
They are being read from the state accurately.