From 56938073bc03df8a14f7302d44c265efd19d3ad0 Mon Sep 17 00:00:00 2001 From: Alan Cleary Date: Fri, 16 Jan 2026 11:36:03 -0700 Subject: [PATCH 1/2] Updated region_partition and sample_partition parameter descriptions --- apis/python/src/tiledbvcf/dataset.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apis/python/src/tiledbvcf/dataset.py b/apis/python/src/tiledbvcf/dataset.py index b8e69eb8e..78ee5b438 100644 --- a/apis/python/src/tiledbvcf/dataset.py +++ b/apis/python/src/tiledbvcf/dataset.py @@ -47,9 +47,11 @@ limit : int Max number of records (rows) to read region_partition : tuple - Region partition tuple (idx, num_partitions) + Region partition tuple (idx, num_partitions) partitions regions into + num_partitions partitions and only reads regions from partition idx sample_partition : tuple - Samples partition tuple (idx, num_partitions) + Samples partition tuple (idx, num_partitions) partitions samples into + num_partitions partitions and only reads samples from partition idx sort_regions : bool Whether or not to sort the regions to be read, default True memory_budget_mb : int From f502907fc86b765ffb0abc485e27eba3c5a9036b Mon Sep 17 00:00:00 2001 From: Alan Cleary Date: Fri, 16 Jan 2026 11:51:39 -0700 Subject: [PATCH 2/2] Updated region_partition and sample_partition descriptions to note that they're 0-based --- apis/python/src/tiledbvcf/dataset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/python/src/tiledbvcf/dataset.py b/apis/python/src/tiledbvcf/dataset.py index 78ee5b438..3e88cb427 100644 --- a/apis/python/src/tiledbvcf/dataset.py +++ b/apis/python/src/tiledbvcf/dataset.py @@ -48,10 +48,10 @@ Max number of records (rows) to read region_partition : tuple Region partition tuple (idx, num_partitions) partitions regions into - num_partitions partitions and only reads regions from partition idx + num_partitions partitions and only reads regions from partition idx (0-based) sample_partition : tuple Samples partition tuple (idx, num_partitions) partitions samples into - num_partitions partitions and only reads samples from partition idx + num_partitions partitions and only reads samples from partition idx (0-based) sort_regions : bool Whether or not to sort the regions to be read, default True memory_budget_mb : int