Skip to content

BIDSDataGrabber does not support derivatives domain #2814

Open
@jdkent

Description

@jdkent

Summary

The BIDSDataGrabber Interface cannot use the entities in the derivatives domain (as far as I can tell)

Actual behavior

If I point the BIDSDataGrabber Interface at a derivatives directory, none of the files are selected

Expected behavior

The BIDSDataGrabber interface should optionally use derivatives entities.

How to replicate the behavior

Point the BIDSDataGrabber interface at an fmriprep output directory as the base_dir.

Script/Workflow details

I patched the BIDSDataGrabber interface by adding a boolean for the input spec to specify derivatives and I added some logic and changed the call to the layout command to explicitly state which domains are to be used.

I can create a pull request if this is an actual issue.

Platform details:

{'commit_hash': '9f0ca09',
 'commit_source': 'repository',
 'networkx_version': '2.1',
 'nibabel_version': '2.2.1',
 'nipype_version': '1.1.7-dev+g9f0ca09',
 'numpy_version': '1.14.3',
 'pkg_path': '/media/Data/Documents/devel/nipype/nipype',
 'scipy_version': '1.1.0',
 'sys_executable': '/home/james/.conda/envs/atlascorr/bin/python',
 'sys_platform': 'linux',
 'sys_version': '3.6.7 |Anaconda, Inc.| (default, Oct 23 2018, 19:16:44) \n'
                '[GCC 7.3.0]',
 'traits_version': '4.6.0'}

Execution environment

Choose one
-[x] My python environment outside container

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions