Closed TobiasKadelka closed 4 years ago
A little addition: when I let the hirni-script run, it will try to add Files with "datalad hirni-import-dcm" which leads to this error:
[INFO ] Finished adding T10660.tar: Files processed: 1644, +annex: 1644
[ERROR ] argument should be string, bytes or integer, not PosixPath [genericpath.py:exists:19] (TypeError)
[INFO ] Creating a new annex repo at /data/BnB1/Datalad/DTA_study/.git/datalad/hirni_import/dicoms
This might be because of the missing hirni configuration?
Thanks for reporting, @TobiasKadelka . That looks like an incompatibility with rc6, that we missed indeed! I'll fix that and make a hirni release. Meanwhile you might want to use just another environment for datalad-hirni, that would use rc5 instead.
FTR: I could reproduce it on brainbfast with an rc6 environment, but failed to do so locally. There's something else to it.
I think it's the python version. datalad 0.12.0rc6 + python 3.5 + datalad-hirni is the problem.
I also get that error with datalad 0.12.0rc6 and python 3.5
with python 3.6, this error goes away, but a related error (https://github.com/psychoinformatics-de/hirni-toolbox/issues/8) occurs at a later stage, when working through the demo steps in the docs.
the 3.6 error is not (yet) there with datalad 0.12.0rc5, but is there in 0.12.0rc6 -- in case this helps hunting this down..
I am just trying to create a hirni-dataset, but the cfg_hirni procedure gives me an error. I updated datalad this week to version "datalad 0.12.0rc6", so I wouldn't be surprised, if that might be the reason for the new error.