aflaxman / gbd

Generic Disease Modelling System
http://www.globalburden.org
15 stars 10 forks source link

refactor gbd_fit.py into 3 separate tasks #108

Closed aflaxman closed 14 years ago

aflaxman commented 14 years ago

this is a good place for advanced users to learn how to perform their own dismod analysis manually, but the source code is overly complicated. to provide a lower barrier to entry, refactor gbd_fit.py into 3 separate scripts:

computational_engine_daemon.py, which is what happens when you run gbd_fit.py -d

fit_emp_priors.py, which corresponds to the gbd_fit.py -t option

fit_posterior.py which corresponds to the gbd_fit.py -r xxx -s yyy -y zzz option

aflaxman commented 14 years ago

this is basically done, although the daemon needs more work. i've also added a fit_all.py script, which uses features of the sge i've recently learned about to enqueue jobs that wait for other jobs to finish before running.