Skip to content

Commit

Permalink
Simplify setting value to 90.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkarolczak committed Oct 25, 2024
1 parent 5f07fc8 commit 6c8193d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deploy/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def parse_ccp4(byte_obj: _io.BytesIO) -> np.ndarray:
unit_cell[:3] = cell.astype([("x", "<f4"), ("y", "<f4"), ("z", "<f4")]).view(("<f4", 3))

unit_cell[0], unit_cell[2] = unit_cell[2], unit_cell[0]
unit_cell[3:] = float(90)
unit_cell[3:] = 90.
blob = resample_blob(blob, CCP4_TARGET_VOXEL_SIZE, unit_cell, map_array)

return blob
Expand Down

0 comments on commit 6c8193d

Please sign in to comment.