Skip to content

Commit 70aa174

Browse files
Will-Tylerjeromekelleher
authored andcommitted
Ensure that LAA always has a three-dimensional shape
1 parent e688698 commit 70aa174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bio2zarr/vcf2zarr/vcz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def from_field(
9696
if array_name is None:
9797
array_name = prefix + vcf_field.name
9898
# TODO make an option to add in the empty extra dimension
99-
if vcf_field.summary.max_number > 1:
99+
if vcf_field.summary.max_number > 1 or vcf_field.full_name == "FORMAT/LAA":
100100
shape.append(vcf_field.summary.max_number)
101101
chunks.append(vcf_field.summary.max_number)
102102
# TODO we should really be checking this to see if the named dimensions

0 commit comments

Comments
 (0)