Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Refine object constancy, handling of unfound genes, subpart hover text #323

Merged
merged 5 commits into from
Nov 11, 2022

Conversation

eweitz
Copy link
Owner

@eweitz eweitz commented Nov 11, 2022

This lets users more easily visually track exons when splicing. It also fixes an edge-case bug in the related genes kit.

Previously, the exon splice animation completed in 250 ms. That's a bit too fast to track which transcript subparts end up where after splicing exons in or out. Now, the animation is slowed down 3x, to 750 ms, making it realistic to follow moving parts with your eyes.

Here's how it looks -- old low constancy in first scene, new high constancy in second scene:

Better_object_constancy_2022-11-10.mp4

Also, the "Related genes" example now has better handling of unfound genes. Before, search a known gene (e.g. "ACE2") after an unknown gene ("asdf") threw a blocking error. It required refreshing the page to fix; not good. Now, searching known after unknown seamlessly returns expected results for the known searched gene.

Finally, subpart hover text was also trimmed for slightly less visual noise.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 86.219% when pulling 532a420 on object-constancy-etc into 07744dd on master.

@eweitz eweitz merged commit 71a277e into master Nov 11, 2022
@eweitz eweitz deleted the object-constancy-etc branch November 11, 2022 01:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants