optimamodel / optima

Optima HIV software tool
http://optimamodel.com
GNU Lesser General Public License v3.0
7 stars 1 forks source link

Make script #1702

Closed robynstuart closed 7 years ago

robynstuart commented 7 years ago

@cliffckerr please review

Adds a method for exporting a project as a script, as per https://trello.com/c/lg9dfiXZ/227-issue-1037-add-method-for-exporting-a-project-as-a-python-script-file

Test like this:

P = loadproj(someproject) P.makescript(spreadsheetfilename='datasheet.xlsx') # If you have the data sheet P.makescript() # If you don't