Skip to content

Commit

Permalink
Basic tests working
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromekelleher committed Feb 15, 2024
1 parent e044702 commit 8eefcf0
Show file tree
Hide file tree
Showing 2 changed files with 180 additions and 1,851 deletions.
2 changes: 1 addition & 1 deletion bio2zarr/vcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def assert_prefix_integer_equal_2d(vcf_val, zarr_val):
# Will need to hand-craft from examples to test
def assert_prefix_float_equal_1d(vcf_val, zarr_val):
v = np.array(vcf_val, dtype=np.float32, ndmin=1)
vi = v.view(np.int32)
# vi = v.view(np.int32)
z = np.array(zarr_val, dtype=np.float32, ndmin=1)
zi = z.view(np.int32)
assert np.sum(zi == FLOAT32_MISSING_AS_INT32) == 0
Expand Down
Loading

0 comments on commit 8eefcf0

Please sign in to comment.