add script to restructure directory to future BEP020 conformity #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With regard to #12 I added a shell script that restructures and renames parts of the directory and adds .json, README and .bidignore file(s) to comply to proposed standards in BIDS extension proposal 020 (https://docs.google.com/document/d/1eggzTCzSHG3AEKhtnEDbcdk-2avXN6I94X8aUPEBVsw/edit#).
The directory structure when executing the script will be
├── code
│ ├── rawdata_conversion
│ └── stimulus
│ ├── movie
│ ├── movie_localizer
│ │ └── videos
│ ├── retinotopic_mapping
│ │ ├── songs
│ │ └── videos
│ └── visualarea_localizer
│ └── img
│ └── lcm
├── src
│ └── lab-eyetracking
├── stimuli
│ ├── movie_localizer -> ../code/stimulus/movie_localizer/videos/
│ ├── retinotopic_mapping -> ../code/stimulus/retinotopic_mapping/videos
│ └── visualarea_localizer -> ../code/stimulus/visualarea_localizer/img/
├── sub-01
│ ├── ses-localizer
│ │ └── func
│ └── ses-movie
│ ├── eyetrack
│ │ ├── derivatives
│ │ └── sourcedata
│ └── func
├── sub-02
│ ├── ses-localizer
│ │ └── func
│ └── ses-movie
│ ├── eyetrack
│ │ ├── derivatives
│ │ └── sourcedata
│ └── func
[...]
├── sub-35
│ └── ses-movie
│ └── eyetrack
│ | ├── derivatives
│ | └── sourcedata
├── sub-36
│ └── ses-movie
│ └── eyetrack
│ | ├── derivatives
│ | └── sourcedata
└── tests
!! Currently, these proposed extensions are not in use yet, and the BIDS validator will fail (it doesn't know/like the 'eyetrack' subdirectories yet). The script is intended to comply with a future extension of BIDS in accordance to BEP020. I'd suggest to ignore the PR for now and to get back to it once proposed extensions are accepted and to then revisit the usefulness of this script.
The script can be run in the root of the directory with
datalad run --input 'sub*/*/*/sub*_task-movie_run*_events*' --input 'sub*/*/*/sub*_task-movie_run*eyelink*' --input 'sub*/*/*/sub*_task-movie_run*eyegaze*' 'code/restructure.sh'cc @yarikoptic
This is very outdated, and now superfluous. Closing.
Pull request closed