Skip to content

Commit

Permalink
[DATALAD RUNCMD] ./.recreate_hierarchy
Browse files Browse the repository at this point in the history
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "./.recreate_hierarchy",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "proj-nipoppy"
}
^^^ Do not change lines above ^^^
  • Loading branch information
yarikoptic committed Sep 6, 2024
1 parent fb9553f commit 648a57d
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proj-nipoppy/CHANGES
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
0.0.1 2024-06-20

- Started to work on this support of the DatasetType project

13 changes: 13 additions & 0 deletions proj-nipoppy/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
This is an example of an entire project/study level BIDS dataset.
Built taking a hierarchy depicted on
https://github.com/neurodatascience/nipoppy?tab=readme-ov-file#nipoppy
and turning it into a valid BIDS layout.

Some files (e.g. bagel.csv) are specific to nipoppy etc projects, but since
located under folders where bids layout is not enforced -- should be just fine.

Some outstanding issues with validator(s) which were ran into while trying to
get "proper" validation working using deno bids-validator (mark when solved)

- [ ] https://github.com/bids-standard/bids-validator/issues/2007

1 change: 1 addition & 0 deletions proj-nipoppy/code/global_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
9 changes: 9 additions & 0 deletions proj-nipoppy/dataset_description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Name": "Example how nipoppy dataset could be presented as project-type BIDS dataset",
"Description": "Demonstration for the https://github.com/bids-standard/bids-specification/pull/1861",
"BIDSVersion": "1.10.0",
"DatasetType": "project",
"Authors": [
"Yaroslav O. Halchenko", "Samuel Nastase"
]
}
4 changes: 4 additions & 0 deletions proj-nipoppy/derivatives/bagel.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bids_id,participant_id,session,has_mri_data,pipeline_name,pipeline_version,pipeline_starttime,pipeline_complete
sub-MNI001,MNI001,1,TRUE,freesurfer,6.0.1,2022-05-24 13:43,SUCCESS
sub-MNI001,MNI001,2,TRUE,freesurfer,6.0.1,2022-05-24 13:46,SUCCESS
sub-MNI001,MNI001,3,TRUE,freesurfer,6.0.1,UNAVAILABLE,INCOMPLETE
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
3 changes: 3 additions & 0 deletions proj-nipoppy/sourcedata/tabular/bagel.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bids_id,participant_id,session,assessment_name,assessment_score
sub-MNI001,MNI001,1,group,Patient
sub-MNI001,MNI001,2,group,Patient
Empty file.
Empty file.

0 comments on commit 648a57d

Please sign in to comment.