Skip to content

Commit 6ebc564

Browse files
tomwhitejeromekelleher
authored andcommitted
Use correct max_number field
1 parent 96dfb4a commit 6ebc564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bio2zarr/vcz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def from_field(
138138
array_name = prefix + vcf_field.name
139139

140140
# TODO make an option to add in the empty extra dimension
141-
max_number = vcf_field.summary.max_number
141+
max_number = vcf_field.max_number
142142
if (max_number > 0 and vcf_field.vcf_number in ("R", "A", "G")) or (
143143
max_number > 1 or vcf_field.full_name == "FORMAT/LAA"
144144
):

0 commit comments

Comments
 (0)