← 输入框|github.com|刷新
Skip to content

Query with plus signs not working #145

Closed

Description

@tsalo

I'm trying to collect the MNIInfant-to-MNI152NLin6Asym transform for a specific MNIInfant cohort, but when I include + in the query, no files are collected. When I don't include the + symbol and just have the template name (MNIInfant), all of the cohort-wise transforms are collected.

import templateflow

print(templateflow.__version__)
# 25.0.1

print(len(templateflow.api.get('MNI152NLin6Asym', **{'from': 'MNIInfant', 'suffix': 'xfm'})))
# 11 (all of the cohort-specific MNIInfant transforms)

print(len(templateflow.api.get('MNI152NLin6Asym', **{'from': 'MNIInfant+10', 'suffix': 'xfm'})))
# 0 (no transforms collected)

Related to PennLINC/xcp_d#1487.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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