Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulation fails from imported model that is serialized with gillespy #31

Open
ahellander opened this issue Oct 16, 2018 · 1 comment
Open

Comments

@ahellander
Copy link
Collaborator

The follwing fails:

  1. Export a model using model.serialize() and write to file.
  2. Import the model
  3. run the imported model.

The reason seems to be that the exported file contains a parameter "vol" with value 1. StochKit2 does not seem to like that, for reasons I don't know. Removing that parameter from the xml file removes the error.

@johnabel
Copy link
Owner

Does it think "vol" is another parameter and tries to multiply define it when it's serialized again for StochKit2? Can the exported model be run without re-importing it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants