Skip to content

Commit 2537921

Browse files
committed
Add explicit type to expression for mypy.
1 parent 70fe176 commit 2537921

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bigwig_loader/collection.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ def make_positions_global(
173173
174174
"""
175175
offsets = np.array(
176-
[self.chromosome_offset_dict[chrom] for chrom in chromosomes]
176+
[self.chromosome_offset_dict[chrom] for chrom in chromosomes],
177+
dtype=np.int64,
177178
)
178179
return positions + offsets
179180

0 commit comments

Comments
 (0)