-
Notifications
You must be signed in to change notification settings - Fork 163
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
stochastic bezier error during animation #375
Comments
Also occurring on Zika at
|
I'll fix this (or variants of it) as soon as I can reproduce it consistently. If anyone else gets this error please fix, as it requires a page refresh to get working again, and i'll be away for a bit. |
This was consistently showing up on the last Zika build, but I updated the build on Sat with new USVI genomes. In doing so the error has disappeared. Not seeing it on other live builds. If someone finds a way to reproduce reliably, please ping the thread. |
Thanks - I seem to have it consistently happening on current zika by playing through from start on medium speed |
Fixed via try-catch. While this is not ideal, it works and will work for all cases. The root causes should be revisited by whoever re-writes the map / bezier code to address #381 |
P.S. the console logs each occurance of a bezier error so that we are aware of when it occurs. |
* animation-refactor: try / catch to fix bezier errors. Closes #375 only import lodash functions which are actually used fix import statements remove unused transmissionPathLengths calcs. Should improve speed. dispatch play/pause button before map animation starts Cleanup code to shelve out a maybeGetTransmissionPair function Cleanup names and shelve off interchange into a function Duplicate map rather than triplicate Avoid unnecessary triplication in getLatLongs Remove unused colorBy Don't pass around controls, instead directly pass numDates
This error still occurs, and the stack traces may be slightly different.
It occurs stochastically during animation of certain datasets. Currently present in ee77075 via live data at http://localhost:4000/flu/h3n2/ha/6y?c=region&r=region
The text was updated successfully, but these errors were encountered: