-
Notifications
You must be signed in to change notification settings - Fork 37
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
Move 'seed' parameter from Tellurium extension to roadrunner core #457
base: develop
Are you sure you want to change the base?
Conversation
Looks like the checks failed, probably because there are tests that rely on 'seed' being an argument for the function in question. Looks like it didn't even build. I'm not 100% sure that it would have built before your change, but backing it out for now and checking again seems like the right thing to do. |
I think this shouldn't cause any additional tests to fail, since I only modified the docstring and not the code. But in any case, We could perhaps modify the code here to extract the "seed" argument and discard it from the kwargs being passed to roadrunner, although we already have |
I just saw the updates to #578. If it's decided to transfer this code to roadrunner I can modify this PR to do that instead. |
I think the seed argument is caught by Tellurium itself (somehow?) or at least is supposed to be caught by Tellurium. I only know this because of comments from Kiri and Kyle, and I don't know any details, unfortunately. It looks like we need to figure out how to make Travis pass again for first, and then worry about moving the functionality into Roadrunner. Does that seem reasonable? |
Ah I see. Then for sure, that sounds like the right thing to do. Thanks for pointing this out to me. |
Not sure removing the seed parameter from the signature is the right approach. Users want to be able to set the seed for gillespie simulations. How else would one reproduce single stochastic trajectories with vanilla roadrunner? Or do I misunderstand stomething here? |
@matthiaskoenig : I updated the title of the issue to reflect what we eventually concluded. When the 'seed' parameter was added to the function, it was added in Tellurium by extending the roadrunner function somehow. Instead, we want to add it to the core functionality of roadrunner itself. |
@matthiaskoenig Before |
Thanks for the quick answer. Just wanted to make sure that it is possible to set a seed on the stochastic simulators. |
This tiny fix addresses roadrunner issue #578.