Skip to content
Snippets Groups Projects
Commit a65f6063 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Fix fourier-angles, again

parent 1e63fa92
No related branches found
No related tags found
No related merge requests found
......@@ -118,4 +118,4 @@ class TestCorNearPos:
finder = SinoCORFinder("fourier-angles", self.ds_bliss, do_flatfield=True, cor_options=cor_options)
cor = finder.find_cor()
message = f"Computed CoR {cor} and expected CoR {self.true_cor} do not coincide. Near_pos options was set to {cor_options.get('near_pos',None)}."
assert np.isclose(self.true_cor, cor, atol=self.abs_tol), message
assert np.isclose(self.true_cor + 0.5, cor, atol=self.abs_tol), message
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment