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

Wrong colors when loading files with different agent names locally #490

Closed
blairlyons opened this issue Apr 9, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working priority: urgent This should be expedited

Comments

@blairlyons
Copy link
Contributor

Description

When successively loading local files with different agent types, the colors sometimes load incorrectly.

Expected Behavior

Colors should load correctly no matter which file was previously loaded.

Reproduction

  1. download hemoglobin 10ms and hemoglobin 30ms
  2. Go to https://simularium.allencell.org/viewer
  3. Load one file then the other (locally, by drag/drop or file dialog). The second file to load has the wrong colors for agents (usually some of them are yellow) but the left panel still has the correct colors for them (reds and blue).
  4. Load the same file twice and there's no problem. I've also tried with loading different files with the same agent names, and there's no problem. It only happens if the agent names are different.

Environment

Production, Firefox, MacOS

@blairlyons blairlyons added the bug Something isn't working label Apr 9, 2024
@blairlyons blairlyons added the priority: urgent This should be expedited label Apr 9, 2024
@blairlyons
Copy link
Contributor Author

This is needed for work on iPub so high priority

@blairlyons blairlyons moved this to 🏁 Ready for work in Simularium Planning Apr 9, 2024
@interim17
Copy link
Contributor

For context for anyone looking at this, I'm pretty sure it's a viewer bug and not in website, because the color swatches on the left panel are correct, and I can recreate it in the test bed. Poking around now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: urgent This should be expedited
Projects
Archived in project
Development

No branches or pull requests

3 participants