Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically generate BIDS compulsory agnostic files and update them if they already exist #242

Closed
3 tasks done
vinferrer opened this issue Jun 16, 2020 · 5 comments · Fixed by #244
Closed
3 tasks done
Assignees
Labels
BrainHack This issue is suggested for BrainHack participants! Enhancement New feature or request

Comments

@vinferrer
Copy link
Collaborator

vinferrer commented Jun 16, 2020

comes from #185. When a heuristic file is provided and data is bidsdifyed agnostic files (README, participants.tsv and dataset_description.json) should be generated

Detailed Description

When a heuristic file is provided and data is bidsdifyed agnostic files should be generated:

  • dataset_description.json
    Fields
    - Name (Required)
    - BIDSVersion (Required)
    - DatasetType (Recommended)
    - License (Recommended)

  • Participants.tsv
    Fields
    - participant_id (Required)
    - age (Recommended)
    - sex (Recommended)
    - handedness (Recommended)

  • README

Context / Motivation

comply BIDS 1.4 standard

Possible Implementation

Create one function per file where we check if the file exists in the dataset dir, in case it doesn't generate it and cover at least the required fields, preferably also the recommended and add them to the pipeline.

@vinferrer vinferrer added Enhancement New feature or request BrainHack This issue is suggested for BrainHack participants! labels Jun 16, 2020
@vinferrer vinferrer self-assigned this Jun 16, 2020
@smoia smoia changed the title Automatically generate BIDS compolsory agnostic files and if there update them Automatically generate BIDS compulsory agnostic files and if there update them Jun 16, 2020
@smoia
Copy link
Member

smoia commented Jun 16, 2020

Thank you @vinferrer !

Indeed, until now we weren't creating metadata, relying on other tools (DICOM based) to do so. But if physiological files should be shared on their own, we need to create them.

@eurunuela eurunuela changed the title Automatically generate BIDS compulsory agnostic files and if there update them Automatically generate BIDS compulsory agnostic files and update them if they already exist Jun 16, 2020
@vinferrer vinferrer reopened this Jun 18, 2020
@eurunuela
Copy link
Collaborator

Thanks @vinferrer ! I guess it automatically closed when the #244 merged.

@vinferrer
Copy link
Collaborator Author

Yeah don't worry it happens, I was looking for the issue and didn't find it so i supposed it was close

@vinferrer
Copy link
Collaborator Author

We should close this issue

@eurunuela
Copy link
Collaborator

I'd wait for #256.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BrainHack This issue is suggested for BrainHack participants! Enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants