Disease subclinical and clinical periods were switched around, fixed that. PDF names are now copied into the database. PDFs are now saved (committed) as soon as they are created. Got rid of a KeyError when attempting to remove empty-string from the set of production type names.
Relational functions (e.g. disease prevalence) are now supported.
Minor: fixed typo in SQL query.
Fix to SQL to avoid trying to read relational functions for production types that do not have detection defined.
Provided default values for units detected before vaccination begins and vaccination capacity when those columns are NULL in the database.
Now handles detection and stamping out.
Minor fix to SQL query now that a typo in one field name in ScenarioCreator_controlmasterplan has been fixed.