diff --git a/heudiconv/bids/__init__.py b/heudiconv/bids/__init__.py new file mode 100644 index 00000000..16281fe0 --- /dev/null +++ b/heudiconv/bids/__init__.py @@ -0,0 +1 @@ +from .utils import * diff --git a/heudiconv/bids/consts.py b/heudiconv/bids/consts.py new file mode 100644 index 00000000..a509908c --- /dev/null +++ b/heudiconv/bids/consts.py @@ -0,0 +1,31 @@ +#emacs: -*- mode: python-mode; py-indent-offset: 4; tab-width: 4; indent-tabs-mode: nil -*- +#ex: set sts=4 ts=4 sw=4 noet: +""" + + COPYRIGHT: Yaroslav Halchenko 2014 + + LICENSE: MIT + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +""" + +__author__ = 'yoh' +__license__ = 'MIT' + +BIDS_VERSION = "1.7.0" \ No newline at end of file diff --git a/heudiconv/bids/data/schema/objects/entities.yaml b/heudiconv/bids/data/schema/objects/entities.yaml new file mode 100644 index 00000000..3df87f7e --- /dev/null +++ b/heudiconv/bids/data/schema/objects/entities.yaml @@ -0,0 +1,356 @@ +--- +# This file describes entities present in BIDS filenames. +# WARNING: The entities are presented here in alphabetical order! +# The appropriate order of entities in filenames is defined in `rules/entities.yaml`, +# rather than this file (`objects/entities.yaml`). +acquisition: + name: Acquisition + entity: acq + description: | + The `acq-