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

Error messages from the qa tool when using one of its tests #275

Open
olofsen opened this issue Dec 29, 2024 · 0 comments
Open

Error messages from the qa tool when using one of its tests #275

olofsen opened this issue Dec 29, 2024 · 0 comments

Comments

@olofsen
Copy link

olofsen commented Dec 29, 2024

Having installed version 5.5.0 by correcting the version number in tool/PsN.pm from the repository, adding the accompanying PsNR and pharmpy sources, and making a release, next using the latest R packages to avoid error messages concerning DLLs, I tried testing the installation in the "test_files" directory using "qa -cont=APGR,WGT pheno_real.mod -pdf". (Note that "prove -r system" passed).

This led to incomplete results, indicated by two error message sequences ending in

  • lin_path = list(path.glob('*_linbase.mod'))[0]

and, from the frem step

  • with open(path / 'meta.yaml') as meta:

It seems that the first one can be corrected by replacing "glob" by "rglob" in "pyvenv/lib/python3.12/site-packages/pharmpy/tools/linearize/results.py"; and the second by looking in "path / 'meta.yaml'" but also in "path / '../meta.yaml'" in "pyvenv/lib/python3.12/site-packages/pharmpy/tools/linearize/psn_helpers.py". So possibly the tools are sometimes confused about the location of their files when run from qa.

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