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

Enhance GET for a simulation to include percent done #4

Open
Baguage opened this issue Mar 27, 2015 · 0 comments
Open

Enhance GET for a simulation to include percent done #4

Baguage opened this issue Mar 27, 2015 · 0 comments

Comments

@Baguage
Copy link
Member

Baguage commented Mar 27, 2015

From redmine, ticket 6361

Revise the GET method of Simulation resource to accept query parameter (or some flag in the request's JSON body) that indicates that the % done is to be returned if simulation's status == running model.

Note: In the OpenMalaria Portal project, Greg D has written code to parse the model's standard output to get its current percent done. See the while loop in tasks.py module -- https://redmine.crc.nd.edu/redmine/projects/openmalaria/repository/entry/WorkerPackage/Task/tasks.py#L60

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

1 participant