# Files Generated by Tut Script

This section describes the output files from the Tut Script, you can see examples in Generate data and Fit using Simple PopPK Model and Generate data and Fit using a Two Compartment Model.

After running a tutorial script, named ‘my_tut_script.pyml’, as follows:-

    $ popy_run my_tut_script.pyml

the output folder will contain four new scripts:-

    my_tut_script.pyml_output/
        <tut_name>_gen.pyml
        <tut_name>_fit.pyml
        <tut_name>_comp.pyml
        <tut_name>_tutsum.pyml

Note the tutorial output folder name my_tut_script.pyml_output is derived from the tutorial script filename. However the generated script file names are based on the following entry:-

    DESCRIPTION: {name: <tut_name>}

This naming convention for output folders and generated scripts is followed by all Script File Formats in PoPy.

Scripts and description names should be chosen with this in mind, i.e. short names without spaces are recommended.

For a Tut Script the four subscripts are run automatically, see Table 66 for links to the files generated by the tut subscripts, each in their own sub directories.

Script | Outputs
--- | ---
<tut_name>_gen.pyml | Files Generated by Gen Script
<tut_name>_fit.pyml | Files Generated by Fit Script
<tut_name>_comp.pyml | Files Generated by Comp Script
<tut_name>_tutsum.pyml | Files Generated by Tutsum Script

If all four scripts execute then you will see a file structure like:-

    my_tut_script.pyml_output/
        <tut_name>_gen.pyml_output/
        <tut_name>_fit.pyml_output/
        <tut_name>_comp.pyml_output/
        <tut_name>_tutsum.pyml_output/