Hi, thanks for the great library!
I am trying to convert a MCell simulation to simularium. The documentation mention two input data, a json file and the folder holding the binary files of the simulation. I don't have any json file, only couples of .mdl so it would be great to adapt the tutorial depending on the input type available. I was still able to hack a json dictionary with the proper molecule list so I could run the converter. But it ran into an error at this linerotations = rotations.reshape(VALUES_PER_3D_POINT * n_mols)
which should be replaced by
rotations = rotations.reshape(n_mols, VALUES_PER_3D_POINT)
After that I ran into some issues with the the length of the variable [result.times] (https://github.com/simularium/simulariumio/blob/d0452092fac539c0bbea7693744f8159a8140469/simulariumio/mcell/mcell_converter.py#L333). I added the following code to be able to continue :
I could then convert my data, but after loading into the viewer, the data player doesn't appear and I cannot play the simulation.
the files of the simulation were dumped every 5 frame, so they are named as follow :
Scene.cellbin.000000.dat
Scene.cellbin.000005.dat
Scene.cellbin.000010.dat
....
Scene.cellbin.062500.dat
Here is the simularium file
I am suspecting it has something to do with the time_index but I am not sure how to proceed to fix the issue.
Thanks a lot in advance
Hi, thanks for the great library! I am trying to convert a MCell simulation to simularium. The documentation mention two input data, a json file and the folder holding the binary files of the simulation. I don't have any json file, only couples of .mdl so it would be great to adapt the tutorial depending on the input type available. I was still able to hack a json dictionary with the proper molecule list so I could run the converter. But it ran into an error at this line
rotations = rotations.reshape(VALUES_PER_3D_POINT * n_mols)
which should be replaced byrotations = rotations.reshape(n_mols, VALUES_PER_3D_POINT)
After that I ran into some issues with the the length of the variable [result.times] (https://github.com/simularium/simulariumio/blob/d0452092fac539c0bbea7693744f8159a8140469/simulariumio/mcell/mcell_converter.py#L333). I added the following code to be able to continue :I could then convert my data, but after loading into the viewer, the data player doesn't appear and I cannot play the simulation. the files of the simulation were dumped every 5 frame, so they are named as follow : Scene.cellbin.000000.dat Scene.cellbin.000005.dat Scene.cellbin.000010.dat .... Scene.cellbin.062500.dat
Here is the simularium file I am suspecting it has something to do with the time_index but I am not sure how to proceed to fix the issue. Thanks a lot in advance