I was trying to add plot data into trajectory data for cellPACK, and I found out that currently the simularium website loads plots as expected when the data is binary, but fails to display when using json data
Expected Behavior
What did you expect to happen instead?
Plots should display correctly regardless of whether the trajectory data is in binary or json format
Reproduction
A minimal example that exhibits the behavior.
Issue encountered - the plots didn't appear when loading json trajectory data with correctly formatted plot data:
Megan and I have tried a quick fix in logics.ts of this repo by adjusting the data reference, but this change would break plot reading from binary data.
Temporary changes made:
Plots loaded successfully for a json file after the change:
However, with the temporary change, loading plots from a binary trajectory failed:
Description
A clear description of the bug
I was trying to add plot data into trajectory data for cellPACK, and I found out that currently the simularium website loads plots as expected when the data is binary, but fails to display when using json data
Expected Behavior
What did you expect to happen instead? Plots should display correctly regardless of whether the trajectory data is in binary or json format
Reproduction
A minimal example that exhibits the behavior.
Issue encountered - the plots didn't appear when loading json trajectory data with correctly formatted plot data:
Megan and I have tried a quick fix in
logics.ts
of this repo by adjusting the data reference, but this change would break plot reading from binary data.Temporary changes made:
Plots loaded successfully for a json file after the change:
However, with the temporary change, loading plots from a binary trajectory failed: