Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pharmpy 1.2.0 #269

Open
hugo-maas opened this issue Sep 19, 2024 · 0 comments
Open

Pharmpy 1.2.0 #269

hugo-maas opened this issue Sep 19, 2024 · 0 comments

Comments

@hugo-maas
Copy link

Hi,

Testing PsN 5.4.0 with Pharmpy 1.2.0 results in the following error in the frem routine

$ frem run2.mod -covariates=APGR -no-model_subdir
Traceback (most recent call last):
  File "<install_dir>/pharmpy-core/1.2.0-foss-2023a/bin/psn-pharmpy-wrapper", line 8, in <module>
    sys.exit(pharmpy_wrapper())
             ^^^^^^^^^^^^^^^^^
  File "<install_dir>/pharmpy-core/1.2.0-foss-2023a/lib/python3.11/site-packages/pharmpy/tools/psn_helpers.py", line 157, in pharmpy_wrapper
    exec(sys.argv[1], globals(), {})
  File "<string>", line 1, in <module>
TypeError: setup() missing 1 required positional argument: 'missing_data_token'
Must have at least one covariate at <install_dir>/PsN/5.4.0-foss-2023a/frem line 335.

$ cat run2.mod 
$PROBLEM    PHENOBARB SIMPLE MODEL
$INPUT      ID TIME AMT WT APGR DV LNWT
$DATA       pheno.dta IGNORE=I

Testing with Pharmpy 1.0.1 (as suggested in the PsN 5.4.0 Github release) works fine. We wanted to benefit from some of the recent fixes in Pharmpy 1.2.0 though for our pharmpy standalone work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant