Skip to content

Commit

Permalink
Rename "bin_size" attribute from .hic files to "bin-size"
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Nov 30, 2024
1 parent 25a957e commit f4b28be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f4b28be

Please sign in to comment.