Skip to content

Commit 49b6f6a

Browse files
committed
Fix bed2zarr call
1 parent 8e97bc3 commit 49b6f6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bio2zarr/bed2zarr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def bed2zarr(
9191
dtype = core.min_int_dtype(0, len(store["contig_id"]))
9292
n_bases = np.sum(store["contig_length"])
9393

94-
store.create_dataset(bed_array, fill_value=0, dtype=dtype, shape=(n_bases,))
94+
store.create_dataset(bed_array, fill_value=0, dtype="u1", shape=(n_bases,))
9595
store.create_dataset(
9696
bed_array_contig,
9797
data=np.repeat(

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ repository = "https://github.com/sgkit-dev/bio2zarr"
4545
documentation = "https://sgkit-dev.github.io/bio2zarr/"
4646

4747
[project.scripts]
48-
bed2zarr = "bio2zarr.cli:bed2zarr"
48+
bed2zarr = "bio2zarr.cli:bed2zarr_main"
4949
vcf2zarr = "bio2zarr.cli:vcf2zarr_main"
5050
vcfpartition = "bio2zarr.cli:vcfpartition"
5151

0 commit comments

Comments
 (0)