Skip to content

How to deal with invalid project/subject identifiers #115

@bpoldrack

Description

@bpoldrack

Observation from writing tests for _XNAT:

urllib3.connectionpool: DEBUG: https://central.xnat.org:443 "GET /data/experiments?format=json&project=Sample_DICOM&subject_ID=IDONOTEXIST_used_in_datalad-xnat_CI HTTP/1.1" 200 None

This 200 response results in simply an empty list being returned by _XNAT.get_experiments(_ids) when called with non-existent project and/or subject identifiers.

Leave it at that or should we try to detect this by matching against available project/subject combination as indicated by get_projects/get_subjects? WDYT, @mih , @loj ?

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