From f4b28be80bc5690adc13759118005089b28e3b02 Mon Sep 17 00:00:00 2001 From: Roberto Rossini <71787608+robomics@users.noreply.github.com> Date: Sat, 30 Nov 2024 17:38:35 +0100 Subject: [PATCH] Rename "bin_size" attribute from .hic files to "bin-size" --- src/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file.cpp b/src/file.cpp index 29ba846..90f6648 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -192,7 +192,7 @@ static nb::dict get_cooler_attrs(const hictk::cooler::File &clr) { static nb::dict get_hic_attrs(const hictk::hic::File &hf) { nb::dict py_attrs; - py_attrs["bin_size"] = hf.resolution(); + py_attrs["bin-size"] = hf.resolution(); py_attrs["format"] = "HIC"; py_attrs["format-version"] = hf.version(); py_attrs["assembly"] = hf.assembly();