Commit 8bbd429c authored by Pierre Paleo's avatar Pierre Paleo
Browse files

[edfscan] Fix typos in test_edfscan

parent 894c67d4
......@@ -602,7 +602,7 @@ class TestScanBaseJSON(unittest.TestCase):
class TestIgnoredProjections(unittest.TestCase):
"""Test that the """
"""Test the ignore_projections parameter"""
def setUp(self) -> None:
self.folder = tempfile.mkdtemp()
......@@ -618,7 +618,7 @@ class TestIgnoredProjections(unittest.TestCase):
def tearDown(self) -> None:
shutil.rmtree(self.folder)
def testProjectionNoExtra(self):
def testIgnoreProjections(self):
mock = MockEDF(
scan_path=self.folder, n_radio=15, n_ini_radio=10, n_extra_radio=0, dim=10
)
......@@ -626,7 +626,6 @@ class TestIgnoredProjections(unittest.TestCase):
scan = EDFTomoScan(
scan=self.folder, ignore_projections=self.ignored_projs_fname
)
print(scan.projections)
self.assertTrue(numpy.allclose(scan._ignored_projections, self.ignored_projs))
for idx in self.ignored_projs:
self.assertFalse(
......
Supports Markdown
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