From ac74e5a54f8a001da50ca82e71403f1dfd8a893e Mon Sep 17 00:00:00 2001 From: rhfogh Date: Thu, 17 Oct 2024 16:41:40 +0100 Subject: [PATCH] Yet another black change --- mxcubecore/HardwareObjects/Gphl/GphlWorkflow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mxcubecore/HardwareObjects/Gphl/GphlWorkflow.py b/mxcubecore/HardwareObjects/Gphl/GphlWorkflow.py index 218b89098d..5b63c2b98a 100644 --- a/mxcubecore/HardwareObjects/Gphl/GphlWorkflow.py +++ b/mxcubecore/HardwareObjects/Gphl/GphlWorkflow.py @@ -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"] = {