def _find_physio(subject, session, bids_path):
    """Get physilogy data from BIDS dataset."""
    physio_path = list(
        bids_path.glob(f"**/sub-{subject}_ses-{session}*_physio.tsv.gz")
    )
    if physio_path and len(physio_path) == 1:
        return physio_path[0]
    else:
        raise ValueError("No associated physiology file")