-
Notifications
You must be signed in to change notification settings - Fork 2
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
Refactoring snapshots #1483
Comments
@boriskovar-m2ms has started to review the time/steps needed for this refcatoring excercise and estimates update next Tuesday. |
SnapshotsRework-Estimations.xlsx |
Thanks for the estimate @boriskovar-m2ms. @Waztom and I discussed the refactor and we think you should go ahead on this. |
@boriskovar-m2ms has been thinking about the approach to the state-based snapshot resolution, and will begin work imminently. An update on the time estimate: 18 working days would resolve to 6 weeks as Boris is working 3 days per week on Fragalysis. |
@boriskovar-m2ms has completed the state-based rendering of ligands, and is working ligand removal. The rest of the rendering elements are pending. This would round off the NGL changes necessary for the rest of the refactor. |
@boriskovar-m2ms hit a roadblock with rendering densities, that only occurs when rendering locally, but it has been fixed. Once this is done, Boris will move on to the RHS, after which the groundwork for the snapshot refactor itself will complete. |
Last week @boriskovar-m2ms fixed the electron density and atom quality rendering, and will work on RHS rendering ligands, complexes, surfaces and interactions. |
@boriskovar-m2ms confirms that state based rendering is complete for the RHS. Now Boris can workshop sending state to the backend |
@boriskovar-m2ms says he can upload the state to the b/e but there is outstanding work (being skipped for now) regarding the copying the state (have to work around hard limit of 2GB RAM usage e.g. in Chrome), Boris wants to have the end-to-end functionality first and then will craft a copy algorithm that works within the memory limits. Estimate is three weeks of work required including this week |
@boriskovar-m2ms reports that restoring orientations has been more challenging. Some of the effects for opening modals happen in a random order, and some effects require data to be loaded which is not generally true. Currently, Boris is dealing with a too large request header error - hopefully a fresh Docker install will resolve the discrepancy between working Tibor stack and Boris' local build (especially as the Tibor stack header is larger than the local one). |
@matej-vavrek reports that @boriskovar-m2ms is almost done, working on restoring scroll functionality, and switching between snapshots. Optimistically, could be all done next week @phraenquex asks that the NGL view should smoothly interpolate between the two orientations when switching between snapshots |
@boriskovar-m2ms says that scrolling is working, and he is working on restoring the saving the project functionality (which is very similar to saving snapshots). Boris will also work on restoring the interpolation between snapshots in the projects. There may be another optimisation to complete but otherwise Boris hopes to be done this week. |
@boriskovar-m2ms is working on saving and restoring projects, and will move on to interpolating between snapshots within a project With @boriskovar-m2ms managing his time on other projects he is anticipating the implementation, testing and release can be finished around October 17th/18th. Almost all files from the f/e have been changed but the b/e is untouched |
@boriskovar-m2ms is unwell but he will finish switching between the snapshots and then the refactor is complete (pending a large merge with all the other f/e changes) |
@boriskovar-m2ms is back to working on changing between snapshots, after which we will be feature complete and will implement the optimisation which is necessary to allow for states larger than 1GB ETA is pushed back around 7 days |
@boriskovar-m2ms has had to rebase with the latest b/e and f/e images and is dealing with many conflicts which were larger than expected but would always be needed @boriskovar-m2ms asks if it is possible to upload data (LHS & RHS) to a local stack if ISpyB is down? @alanbchristie says an environment variable might be needed to assign Boris to a specific proposal (without ISpyB) and Alan can help Boris achieve this. |
@boriskovar-m2ms has completed merge/rebase and resolved conflicts (lots of phantom errors). Related to using Frank's SSH connection (where there seemed to be some throttling/timeouts) caused some false negatives on f/e bugs. Work is still in progress to make the snapshot transitions smooth(er). Aims to finish it this week, but there are more difficulties than expected, even after the refactor. The transition actually happens between three states, current, target, and a "phantom" state that preserves some, but not all, of the current state. |
@boriskovar-m2ms reports he is 99% that he will be feature-complete by EOD tomorrow. But there have been some deployment issues. Boris is also progressing on the smooth transitions, and on Monday he will do the optimisation (to fix 1GB ram limit) redeploy. |
Boris adding save functionality after changes made to the snapshot. Frank suggests continuously capturing changes with "snapshot saved" toast notification (edit or delete) to then link to snapshot editing modal vs. option to save modal. |
@boriskovar-m2ms has completed almost everything, the only outstanding work is that changes to an existing snapshot should be saved when working within a project (about 50% complete). Meanwhile, Boris has also been squashing bugs (some of which are a consequence of the memory optimisation). One bug remains open: when you are logged in and share a snapshot to someone who is also logged in who then tries to open it, it might fail subtly or spectacularly (couple hours of work pending). |
@boriskovar-m2ms deployment is stuck...pending is one final functionality, needs to add a button/link to the snapshot save/edit name modal. |
Feature complete version is now deployed to tibor's stack. |
@phraenquex reports that the NGL rotation is not restored in Firefox @boriskovar-m2ms says that he has a very large backlog of work on other projects which he will work on exclusively next week, but we should enumerate a shopping list of bugs to squash for when he's back |
As @phraenquex mentioned NGL view is not restoring orientation from snapshot in Firefox. Same snapshot works fine in Chrome. Needs more investigation. |
Bugs spotted by @phraenquex:
|
Based on #1419
If we want to switch current action based snapshots for state based snapshots, this is how it should work.
Saving snapshot:
Snapshot restoration:
PROS:
CONS:
Not quite sure how long it would take me to implement this but we are definitely talking about several weeks but most likely we are not talking about multiple months.
The text was updated successfully, but these errors were encountered: