-
Notifications
You must be signed in to change notification settings - Fork 4
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 due to 'PosixPath' versus 'str' TypeError #8
Comments
Hey @pvavra, thanks for trying and reporting! This smells like psychoinformatics-de/datalad-hirni#129 Currently datalad-hirni is incompatible with datalad 0.12.0rc6 (+ python below something around 3.7). Trying to get the fixes merged and released in the dependency chain (can't be fixed within datalad-hirni alone) and will report back here. However, I'm not sure how you ended up with datalad 0.12.0rc6. Could you please try to explicitly install |
PS: |
Yep, looks like related to the above issue. Moving conversation there. [sorry for posting in the wrong place.. was late last night..] |
Trying to walk through the example study, we are getting an error (but only when running this on medusa, it seems).
At the stage of importing the dcm, it fails:
The error seems to happen after the metadata processing (I see a bunch of progress bars just fine, but they then jump to the error).
This is currently using python 3.6.9. Using the default (system-level installed on cluster) 3.5 python version was giving this problem at another location (complaining about 'PosixPath' not having a 'startswith' function).
Not sure this is due to datalad or hirni or a weird setup on the medusa cluster. On my local machine this works fine (using 3.6.8).
Note on python setup:
Converining the python environment, I created a virtual environment using
python3 -m venv datalad
and than updated pip and setuptools using the following oneliner
pip list --outdated --format=freeze | grep -v '^-e' | cut -d = -f 1 | xargs -n1 pip install -U
and than installed (in that order) datalad
pip install git+https://github.com/datalad/datalad
and hirni:
pip install git+https://github.com/psychoinformatics-de/datalad-hirni.git#egg=datalad_hirni
datalad_wtf.txt
The text was updated successfully, but these errors were encountered: