Closed zen-juen closed 2 years ago
Interestingly, the get_saliva_example
code works on my end, but not the TSST
and get_questionnaire_example
examples of the README.
Thank you for pointing that out! We assume this is due to the fact that the example data is not included in the package when installing it from PyPi.
We will update our code so that it will first check whether the package was installed manually, by cloning the git repository, then all example data should be downloaded and the examples should work correctly, or via PyPi. In the latter case the example data is not contained and we will download the example data similar to how scikit-learn is handling this (see https://github.com/scikit-learn/scikit-learn/blob/844b4be24/sklearn/datasets/_base.py).
We also updated the minimal working examples in the README, which still contained some bugs, in 6935600009cbc143ef4fd750211c249b9ba09d1e.
We added the feature of automatically downloading example data if not available yet in 252f33c1dfdaf43877be2135e87cc429852f718d.
Hi @richrobe that's great! I think this new version is not yet updated on PyPI though, so I can't review the changes as of now
Hi @zen-juen, now that this is resolved, I'm closing this issue if that's okay?
Hi there, after installing
biopsykit
with ease, I've encountered some errors when running the examples listed on the readme, particularly those that are related to retrieving example datasets:I get an error like so:
This also happens for
get_sleep_imu_example()
,get_questionnaire_example()
andget_mist_hr_example()
. Might this be to do with the way functions are setting the data path?(Note: as part of https://github.com/openjournals/joss-reviews/issues/3702)