Skip to content

Commit

Permalink
Merge pull request #561 from carterbox/test-precision
Browse files Browse the repository at this point in the history
TST: Add atol param to ordered subset tests
  • Loading branch information
carterbox committed Nov 12, 2021
2 parents 75ad0f9 + 4748d6b commit f95e099
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_tomopy/test_recon/test_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def test_bart(self):
),
read_file('bart.npy'),
rtol=1e-2,
atol=1e-5,
)

def test_fbp(self):
Expand Down Expand Up @@ -211,6 +212,7 @@ def test_osem(self):
),
read_file('osem.npy'),
rtol=1e-2,
atol=1e-5,
)

def test_ospml_hybrid(self):
Expand All @@ -228,6 +230,7 @@ def test_ospml_hybrid(self):
),
read_file('ospml_hybrid.npy'),
rtol=1e-2,
atol=1e-5,
)

def test_ospml_quad(self):
Expand All @@ -245,6 +248,7 @@ def test_ospml_quad(self):
),
read_file('ospml_quad.npy'),
rtol=1e-2,
atol=1e-5,
)

def test_pml_hybrid(self):
Expand Down

0 comments on commit f95e099

Please sign in to comment.