diff --git a/src/jaeger/fvc.py b/src/jaeger/fvc.py index 10ff947d..3deba250 100644 --- a/src/jaeger/fvc.py +++ b/src/jaeger/fvc.py @@ -396,7 +396,7 @@ def process_fvc_image( transforms.plotFVCResults = partial(plotFVCResultsMP, loop) # ZB polynomial orders to use. - polids = config["fvc"].get("polids", None) + polids = polids or config["fvc"].get("polids", None) if polids is None: self.log("Using coordio default ZB polynomial orders.") else: diff --git a/tests/test_fvc.py b/tests/test_fvc.py index bfa19178..7b06c2ba 100644 --- a/tests/test_fvc.py +++ b/tests/test_fvc.py @@ -123,6 +123,8 @@ async def test_fvc_processing( positioner_coords, fibre_data=fibre_data, centroid_method="nudge", + rot_ref_angle=135.4, + polids=numpy.arange(33).tolist(), ) assert fvc.fitrms is not None and fvc.fitrms > 0.05 and fvc.fitrms < 0.06