datalad / datalad-catalog

Create a user-friendly data catalog from structured metadata
https://datalad-catalog.netlify.app
MIT License
15 stars 12 forks source link

Cannot create catalog in datalad subdataset #317

Closed mih closed 4 months ago

mih commented 1 year ago
catalog_create(error): www [A non-catalog directory already exists at www. Please supply a different path.]

I need to create the catalog in a datalad dataset. This check forces me to use an arbitrary additional root directory within that subdataset, which complicates further processing.

jsheunis commented 1 year ago

Would you expect it to do what you want without complaining, or do you think a --force flag is useful in this situation? I would say the latter, in case the user did not actually intent to provide the existing path.

jsheunis commented 4 months ago

This is now possible with the --force flag.