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

Amici Simulator #473

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open

Amici Simulator #473

wants to merge 48 commits into from

Conversation

FFroehlich
Copy link
Contributor

Implements support for https://github.com/ICB-DCM/AMICI as Simulator class

@jmuhlich jmuhlich self-requested a review December 10, 2019 23:05
@FFroehlich
Copy link
Contributor Author

Test for correctness of solutions is implemented here: https://github.com/ICB-DCM/AMICI/blob/a4e077f317d2d3eb6f93fcb1a849ddb4ffa7a175/tests/testPYSB.py#L148

@FFroehlich
Copy link
Contributor Author

@jmuhlich this is now done from my side, tests currently do not pass for python2 which is EOL.

@FFroehlich
Copy link
Contributor Author

@jmuhlich @alubbock as this PR is approaching its one year anniversary, could we decide on it's fate?

@JamesPino
Copy link
Contributor

Just curious so I know for later, but how come you have the pysb2amici converted in the amici repo rather than the pysb repo? Excited to do some benchmarks

@FFroehlich
Copy link
Contributor Author

Just curious so I know for later, but how come you have the pysb2amici converted in the amici repo rather than the pysb repo? Excited to do some benchmarks

Amici doesn't have any specific file format that it can read in, so the function doesn't work like the other exporters, but rather constructs ODEModel and ODEExporter objects (see https://github.com/AMICI-dev/AMICI/blob/6aa87c34ab80c5a5e6be40b4bcccf3386e316047/python/amici/ode_export.py) and relies on some AMICI internals. Felt more natural to have this in AMICI, especially as that interface was more fluid initially, but this could of course be changed.

@FFroehlich
Copy link
Contributor Author

Just curious so I know for later, but how come you have the pysb2amici converted in the amici repo rather than the pysb repo? Excited to do some benchmarks

We did some benchmarks against the SciPySimulator using Cython for 17 of the pysb examples:

image

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

Successfully merging this pull request may close these issues.

None yet

2 participants