Skip to content

Commit

Permalink
Yet another black change
Browse files Browse the repository at this point in the history
  • Loading branch information
rhfogh committed Oct 17, 2024
1 parent 1d31677 commit ac74e5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mxcubecore/HardwareObjects/Gphl/GphlWorkflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,11 +453,11 @@ def query_pre_strategy_params(self, choose_lattice=None):
reslimits = (0.5, 5.0)
if resolution < reslimits[0]:
resolution = (
round(reslimits[0], resolution_decimals) + 0.1 ** resolution_decimals
round(reslimits[0], resolution_decimals) + 0.1**resolution_decimals
)
if resolution > reslimits[1]:
resolution = (
round(reslimits[1], resolution_decimals) - 0.1 ** resolution_decimals
round(reslimits[1], resolution_decimals) - 0.1**resolution_decimals
)

fields["resolution"] = {
Expand Down

0 comments on commit ac74e5a

Please sign in to comment.