Skip to content

[ENH] Search Criteria Directory Behavior #44

@JRandy77

Description

@JRandy77

Is there an existing issue for this?

  • I have searched the existing issues

New feature

When using search criteria for directory, won't look past the root directory if the root directory doesn't match search criteria.

[Search Criteria]
use search criteria = yes
regular expression for search criteria = sub-01
filter files = no
filter directories = yes

├───dataset1
│ ├───sub-01
│ │ ├───anat
│ │ ├───dwi
│ │ └───func
│ ├───sub-02
│ │ ├───anat
│ │ ├───dwi
│ │ └───func
│ ├───sub-03
│ │ ├───anat
│ │ └───dwi
│ └───sub-04
│ ├───anat
│ ├───dwi
│ └───wrong_dir_name
└───derivatives1
├───sub-01
│ ├───pipeline1
│ └───ses-pre
├───sub-02
│ ├───pipeline1
│ │ └───derivatives1
│ └───ses-pre
└───sub-03
├───pipeline1
└───ses-pre

image

Unclear documentation

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions