Unfortunately I don't have a reproducible example, but the problem is happening here: https://github.com/sgkit-dev/vcztools/blob/bf77b1bb92a0725b8a62a7eb95188a70e7da349b/vcztools/retrieval.py#L434 `sel` is a `ChunkRead.selection`: https://github.com/sgkit-dev/vcztools/blob/bf77b1bb92a0725b8a62a7eb95188a70e7da349b/vcztools/utils.py#L28 which is typed as `slice`, so there is a missing case here.
Unfortunately I don't have a reproducible example, but the problem is happening here:
vcztools/vcztools/retrieval.py
Line 434 in bf77b1b
selis aChunkRead.selection:vcztools/vcztools/utils.py
Line 28 in bf77b1b
slice, so there is a missing case here.