Skip to content

VCF-89: Update regions parameter to support type numpy.ndarray#873

Merged
alancleary merged 2 commits intomainfrom
alancleary/VCF-89
Feb 9, 2026
Merged

VCF-89: Update regions parameter to support type numpy.ndarray#873
alancleary merged 2 commits intomainfrom
alancleary/VCF-89

Conversation

@alancleary
Copy link
Member

All four methods in the Python API that accept a regions parameter have been updated:

  • def read_arrow()
  • def read()
  • def export()
  • def read_iter()

Tests have been added for each method except for export(). Apparently export() currently has no test coverage whatsoever so this test will be added during a larger effort to address this issue.

Also, regions of type None are now handled explicitly with all other types raising an exception.
Previously untested regions types were added as well.
Copy link
Member

@ihnorton ihnorton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM, but let's get ACK from @shaunrd0 (asked for test against his local setup).

Copy link
Member

@shaunrd0 shaunrd0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I verified locally that I can run the task graph to completion from CLOUD-2882 using this branch.

@alancleary
Copy link
Member Author

All CI jobs are passing now that GitHub is stable again. Merging

@alancleary alancleary merged commit db4e19c into main Feb 9, 2026
13 of 18 checks passed
@alancleary alancleary deleted the alancleary/VCF-89 branch February 9, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants