From 2d24eb324ca60d35a4d36488c757a8d976148192 Mon Sep 17 00:00:00 2001 From: pjflux2001 Date: Sat, 14 Oct 2023 17:33:59 +0530 Subject: [PATCH] ignored more flake8 checks --- src/polyphy/core/discrete3D.py | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/src/polyphy/core/discrete3D.py b/src/polyphy/core/discrete3D.py index 3431497..89f3140 100644 --- a/src/polyphy/core/discrete3D.py +++ b/src/polyphy/core/discrete3D.py @@ -20,19 +20,16 @@ def register_data(self, ppData): self.DOMAIN_SIZE_MAX = np.max( [ppData.DOMAIN_SIZE[0], ppData.DOMAIN_SIZE[1], ppData.DOMAIN_SIZE[2]]) self.TRACE_RESOLUTION = PPTypes.INT_CPU(( - PPTypes.FLOAT_CPU(self.TRACE_RESOLUTION_MAX) * ppData.DOMAIN_SIZE[0] / - self.DOMAIN_SIZE_MAX, - PPTypes.FLOAT_CPU(self.TRACE_RESOLUTION_MAX) * ppData.DOMAIN_SIZE[1] / - self.DOMAIN_SIZE_MAX, - PPTypes.FLOAT_CPU(self.TRACE_RESOLUTION_MAX) * ppData.DOMAIN_SIZE[2] / - self.DOMAIN_SIZE_MAX)) + PPTypes.FLOAT_CPU(self.TRACE_RESOLUTION_MAX) * ppData.DOMAIN_SIZE[0] / + self.DOMAIN_SIZE_MAX, + PPTypes.FLOAT_CPU(self.TRACE_RESOLUTION_MAX) * ppData.DOMAIN_SIZE[1] / + self.DOMAIN_SIZE_MAX, + PPTypes.FLOAT_CPU(self.TRACE_RESOLUTION_MAX) * ppData.DOMAIN_SIZE[2] / + self.DOMAIN_SIZE_MAX)) self.DEPOSIT_RESOLUTION = ( - self.TRACE_RESOLUTION[0] // - PPConfig.DEPOSIT_DOWNSCALING_FACTOR, - self.TRACE_RESOLUTION[1] // - PPConfig.DEPOSIT_DOWNSCALING_FACTOR, - self.TRACE_RESOLUTION[2] // - PPConfig.DEPOSIT_DOWNSCALING_FACTOR) + self.TRACE_RESOLUTION[0] // PPConfig.DEPOSIT_DOWNSCALING_FACTOR, + self.TRACE_RESOLUTION[1] // PPConfig.DEPOSIT_DOWNSCALING_FACTOR, + self.TRACE_RESOLUTION[2] // PPConfig.DEPOSIT_DOWNSCALING_FACTOR) # Check if these are set and if not give them decent initial estimates if self.sense_distance < 1.e-4: