yoavram / curveball

Predicting microbial growth in a mixed culture from growth curve data
http://curveball.yoavram.com
Other
14 stars 5 forks source link

Load Curveball faster #68

Closed yoavram closed 9 years ago

yoavram commented 9 years ago

import curveball does too many processing, like creating Dfun functions in models.py. Need to fix this, curveball --version or python -c "import curveball" shouldn't take more than 5 seconds.

yoavram commented 9 years ago

Did lazy init in models.py (43a2a4285c5796d932386281a1fd184004ee03c9) doesn't really matter for loading time (%timeit reload(curveball.models)).