Skip to content

Commit

Permalink
Fix test_fvc_processing after coordio update
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Oct 11, 2024
1 parent 6ba9e3e commit 06b3821
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/jaeger/fvc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions tests/test_fvc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06b3821

Please sign in to comment.