Commit 38b734da authored by payno's avatar payno
Browse files

fix typo from rebase

parent 5756aa9c
Pipeline #33244 passed with stages
in 3 minutes and 23 seconds
......@@ -77,13 +77,6 @@ class TestFlatFieldCorrection(unittest.TestCase):
def test_get_flats_weights(self):
"""test the _get_flats_weights function and insure flat weights
are correct"""
projections = {}
for i in range(-2, 30):
projections[i] = numpy.random.random(100).reshape((10, 10))
self.scan.projections = projections
def test_get_flats_weights(self):
flat_weights = self.scan._get_flats_weights()
self.assertTrue(isinstance(flat_weights, dict))
self.assertEqual(len(flat_weights), 32)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment