UUPharmacometrics / PsN

Perl-Speaks-NONMEM
https://uupharmacometrics.github.io/PsN
GNU General Public License v2.0
65 stars 19 forks source link

Add PsN command to the mod file #39

Closed bguiastr closed 6 years ago

bguiastr commented 6 years ago

Just a thought I was having. To increase reproducibility it would be nice to have a way to add the PsN command and/or just a couple PsN options in a dedicated header on top of the code that would be evaluated.

;; PsN cmd: execute-4.7.0 -nm_version=7_30 <run>
$PROBLEM Test PsN

A generic PsN function could then be created to read commands from model files e.g.: run run001.mod

This way the .lst files would not only contain the NONMEM results but also the PsN version and options used to get them.

rikardn commented 6 years ago

Although an interesting idea, this is not a feature we plan on adding currently (trying to avoid feature creep). I am trying out other routes for reproducibility. You can now checkout the new -model_subdir option that might be a good fit for what you need. By using this all results from one particular model will be gathered into the same subdirectory. That way you would know that the latest execute run would have created your .lst file. If popular this might become the default in the future.