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

Fix sequence type choice displaying wrong info #4449

Merged
merged 4 commits into from
Jun 17, 2024

Conversation

cmdcolin
Copy link
Collaborator

  1. Currently the "Open dialog" on the sequence feature panel changes the users mode choice (e.g. showing protein or cds sequence). This updates it to keep the state of the users choice

  2. The choice can actually revert, and then display the wrong info

Seen on main branch, it says it is displaying protein, but is displaying CDS. this was only a bug added after #4448
image

@cmdcolin
Copy link
Collaborator Author

codewise, the fix was mainly done by leaning the MST state more heavily instead of a mix of useState and MST state and using autorun to update the mode only when needed

@cmdcolin cmdcolin force-pushed the store_sequence_featurestate_mst branch from e737dd6 to 148ce6b Compare June 17, 2024 21:48
@cmdcolin cmdcolin force-pushed the store_sequence_featurestate_mst branch from 5a80f6a to f7c3231 Compare June 17, 2024 22:05
@cmdcolin cmdcolin merged commit e38c299 into main Jun 17, 2024
10 checks passed
@cmdcolin cmdcolin deleted the store_sequence_featurestate_mst branch June 17, 2024 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant