m2ms / fragalysis-frontend

The React, Redux frontend built by webpack
Other
1 stars 2 forks source link

Representations are not restored. #1217

Open boriskovar-m2ms opened 11 months ago

boriskovar-m2ms commented 11 months ago

Representations are not restored because there is a crash during the restore process when it tries to assign a representation to an ngl object that was deleted in previous step.

Steps to reproduce:

  1. Select a target on the landing page
  2. Open display controls
  3. Change ligand representation to licorice
  4. Press Share
  5. Load the snapshot from the generated link
matej-vavrek commented 11 months ago

Should not crash anymore. However, it is strongly advised to change mechanism of restoring representations from individual actions to save final representations and load them directly. It should be failproof then, because it is mostly guaranteed that it could fail in some step now due to a uuid generation and following mismatch.