Skip to content

Commit

Permalink
Fix wrong size initialization in StrainGR
Browse files Browse the repository at this point in the history
  • Loading branch information
lrvdijk committed Sep 28, 2023
1 parent b148430 commit d68c7ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/strainge/variant_caller.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ def __init__(self, name, length):
# Store for each position and per possible allele the counts and sum
# of base qualities. We use len(Allele)-1 because we store nothing
# for Allele.N.
self.alleles = numpy.zeros((self.length, 2, len(Allele)-1),
self.alleles = numpy.zeros((self.length, 2, len(ALLELE_INDEX)),
dtype=numpy.uint32)

# Number of reads rejected for some reason
Expand Down

0 comments on commit d68c7ff

Please sign in to comment.