Skip to content

Commit

Permalink
Merge pull request #15 from AlonDaks/alon-dev
Browse files Browse the repository at this point in the history
Setup data infrastructure for easy data file access
  • Loading branch information
Ying Luo committed Nov 8, 2015
2 parents 742f1a9 + 105d9d3 commit 15a3aba
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
raw/
3 changes: 3 additions & 0 deletions data/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ data:

validate:
python data.py

README.pdf: README.md
pandoc -o README.pdf README.md
6 changes: 6 additions & 0 deletions data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# data

If the path to your data on your computer is `/Volumes/Passport/fmri_data`, then you can
create a symbolic link via:

$ ln -s /Volumes/Passport/fmri_data raw
14 changes: 14 additions & 0 deletions data/data_path.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"bold_dico_7Tad2grpbold7Tad": {
"sub1" : {
"run1": "data/raw/sub001/BOLD/task001_run001/bold_dico_dico7Tad2grpbold7Tad.nii",
"run2": "data/raw/sub001/BOLD/task001_run002/bold_dico_dico7Tad2grpbold7Tad.nii",
"run3": "data/raw/sub001/BOLD/task001_run003/bold_dico_dico7Tad2grpbold7Tad.nii",
"run4": "data/raw/sub001/BOLD/task001_run004/bold_dico_dico7Tad2grpbold7Tad.nii",
"run5": "data/raw/sub001/BOLD/task001_run005/bold_dico_dico7Tad2grpbold7Tad.nii",
"run6": "data/raw/sub001/BOLD/task001_run006/bold_dico_dico7Tad2grpbold7Tad.nii",
"run7": "data/raw/sub001/BOLD/task001_run007/bold_dico_dico7Tad2grpbold7Tad.nii",
"run8": "data/raw/sub001/BOLD/task001_run008/bold_dico_dico7Tad2grpbold7Tad.nii"
}
}
}

0 comments on commit 15a3aba

Please sign in to comment.