simularium / simulariumio

Python package that converts simulation outputs to the format consumed by the Simularium viewer website
Apache License 2.0
5 stars 3 forks source link

Load open binary data #122

Closed blairlyons closed 1 year ago

blairlyons commented 2 years ago

Use Case

As a developer, I need to be able to send binary data over the web and load it in simulariumio.

Acceptance Criteria

A developer can create a 'TrajectoryData' with binary data that is loaded in memory rather than in a file.

Details

For JSON data, can currently use a InputFileData with either file_contents or file_path, but for binary data, currently it only works for a binary file_path not file_contents.