Commit 07026773 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Dont add twice the initial radios

parent 19a9bc5d
Pipeline #23725 passed with stages
in 2 minutes and 8 seconds
...@@ -195,9 +195,6 @@ class MockHDF5(_ScanMock): ...@@ -195,9 +195,6 @@ class MockHDF5(_ScanMock):
self.add_initial_dark() self.add_initial_dark()
if create_ini_ref: if create_ini_ref:
self.add_initial_ref() self.add_initial_ref()
if n_ini_proj is not None:
for i_radio in range(n_ini_proj):
if create_final_ref: if create_final_ref:
self.add_final_ref() self.add_final_ref()
self.scan = HDF5TomoScan(scan=self.scan_master_file, entry='entry') self.scan = HDF5TomoScan(scan=self.scan_master_file, entry='entry')
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