Closed fraimondo closed 5 months ago
Thanks for the issue and workaround @fraimondo. This interaction and translation between metalad and catalog hasn't received much attention after the initial development, so I think you might run into similar issues along the way (although I hope you don't, of course).
I am doing some tests and trying to figure out how the catalog+metalad+bids interaction works.
I have a minimal BIDS test dataset which is valid (by bids-validator). I managed to extract metadata using
meta-conduct
, but the translation fails.The issue seems to be with the keywords:
https://github.com/datalad/datalad-catalog/blob/76bb8d99b529c8c644ddff545cdf5a6ce1f63986/datalad_catalog/translators/bids_dataset_translator.py#L148-L151
Indeed, my extracted metadata has no task (is just anatomical images) and no variables:
Since this is still a valid BIDS dataset (though quite useless), my take is that it should be still be accepted by the catalog translator.
Workaround/fix: