neuropoly / data-management

Repo that deals with datalad aspects for internal use
4 stars 0 forks source link

uk-biobank: invalid authors #47

Open kousu opened 3 years ago

kousu commented 3 years ago
$ /usr/local/bin/bids-validator .; echo $?
bids-validator@1.6.1

    1: [WARN] The Authors field of dataset_description.json should contain an array of fields - with one author per field. This was triggered based on the presence of only one author field. Please ignore if all contributors are already properly listed. (code: 102 - TOO_FEW_AUTHORS)

    Please visit https://neurostars.org/search?q=TOO_FEW_AUTHORS for existing conversations about this issue.

        Summary:                  Available Tasks:        Available Modalities: 
        1404 Files, 9.75GB                                T1w                   
        350 - Subjects                                    T2w                   
        1 - Session                                                             

    If you have any questions, please post on https://neurostars.org/tags/bids.

This is because our dataset says

$ cat dataset_description.json 
{
    "Name": "Minimalistic UKBioBank Dataset",
    "BIDSVersion": "1.4.1",
    "Authors": [
        "NeuroPoly"]
}

This is both wrong and it annoys bids-validator. Can we write "UK Biobank" in there? Maybe a URL? A DOI? We can add our own names on the end too, since we're definitely part of the provenance of this dataset now that we're bidsifying it.

jcohenadad commented 3 years ago

indeed-- "authors" is not "neuropoly"-- it should be changed