Running Your First tut Script

Having created a tut script:

popy create tut my_first_tut_script.pyml

you may now run it to examine the results and how they correspond to the contents of the script:

popy run my_first_tut_script.pyml

which will create an output folder called my_first_tut_script.pyml_output into which it saves all outputs (apart than log files and a link to the tutsum HTML report, both of which are created in the same folder as the my_first_tut_script.pyml input script).

If you ran the script already, a main log file will already exist which will prompt PoPy to ask whether you want to overwrite any previous results.

If you answer “n” (for No) then PoPy will terminate, leave the previous results unchanged, and suggest options that will re-run the script safely.

If you answer “y” (for Yes) then the previous results will be overwritten and lost for good, so be sure this is what you want. Use the -o command line argument to forcibly overwrite existing results without prompting (e.g. when running PoPy in an automated environment), or use the -t command line argument to create fresh outputs with timestamped filenames for posterity.

Note

Because the main log file is used to indicate existing results, we do not recommend manually deleting log files in case valuable results get overwritten.

To view the summarized results of the tut script, open the my_first_tut_script.pyml.html file in a web browser and follow the links to various output files.

You can compare your local html output with the pre-computed documentation output (First order absorption model with peripheral compartment) though you should expect some minor numerical differences when comparing against results computed on different hardware.