From 5d1191c84dde7cb972bf9ae9e0dd87aa7f8c2d74 Mon Sep 17 00:00:00 2001 From: Michael Walsh Date: Wed, 6 Nov 2024 13:01:54 -0500 Subject: [PATCH] rebase and fix skip pixel calibration backend --- src/snapred/backend/service/CalibrationService.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snapred/backend/service/CalibrationService.py b/src/snapred/backend/service/CalibrationService.py index 6270368f7..8ca0b7362 100644 --- a/src/snapred/backend/service/CalibrationService.py +++ b/src/snapred/backend/service/CalibrationService.py @@ -184,7 +184,7 @@ def diffractionCalibrationWithIngredients(self, request: SimpleDiffCalRequest) - @FromString def pixelCalibration(self, request: SimpleDiffCalRequest) -> PixelDiffCalServing: # cook recipe - if request.skipPixelCalibration: + if request.ingredients.skipPixelCalibration: self.groceryClerk.name("defaultCalibrationTable").diffcal_table( request.ingredients.runConfig.runNumber, VERSION_DEFAULT ).useLiteMode(request.ingredients.runConfig.useLiteMode).add()