Skip to content

Commit

Permalink
missing encode call
Browse files Browse the repository at this point in the history
  • Loading branch information
dermen committed Sep 6, 2023
1 parent c4bffba commit ec61517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dxtbx/format/cbf_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ def add_data_to_cbf(self, cbf, index=None, data=None, verbose=False):
if dataisint[i]:
elsize = 4
elsigned = 1

byteorder = byteorder.encode()

Check warning on line 542 in src/dxtbx/format/cbf_writer.py

View check run for this annotation

Codecov / codecov/patch

src/dxtbx/format/cbf_writer.py#L542

Added line #L542 was not covered by tests
cbf.set_integerarray_wdims_fs(
pycbf.CBF_PACKED,
binary_id,
Expand Down

0 comments on commit ec61517

Please sign in to comment.