datalad / datalad-xnat

Track XNAT projects with DataLad
Other
3 stars 9 forks source link

Invalid re-init test #63

Closed mih closed 2 years ago

mih commented 2 years ago

The following test is done to figure out of a dataset is already initialized:

https://github.com/datalad/datalad-xnat/blob/01144d2b2e01885a0d91867b96d0f0b4d6ecde52/datalad_xnat/init.py#L155-L164

This is not specific, because it is ultimately about a specific file in this directory, not about this directory.

The fix approach is related to or conditional on the question of #42 By default (and only possiblity right now) the file is called xnat-default.cfg (created by the config procedure).