Simularium file info version 3
Enhancements:
The viewer was updated to accept simularium trajectoryInfo
version 3 data
The new file format includes an optional geometry
field.
geometry:
displayType: type “SPHERE”, “CUBE”, “GIZMO”, “FIBER”, “PDB”, or “OBJ”. //Default to “SPHERE”, or “FIBER” if subpoints
url: string. // local path or web URL, web URLs are required for streaming or loading the trajectory by URL
color: string. // hex value
This allows users to specify their own geometry files, either by loading them along with their local .simularium
file or by including a url to a publicly hosted file.
Warn user if server connection is invalid
Possible scenarios of issues with websockets connection:
- fail to establish connection
- connect, but becomes invalid
- valid connection, but slow operation
Each will result in a warning to the user of what's happened.