Commit 6838293b authored by payno's avatar payno
Browse files

fix recons pattern, should not atart by '_'

parent cea1c9bb
......@@ -186,21 +186,21 @@ class MockHDF5(_ScanMock):
class MockEDF(_ScanMock):
"""Mock a EDF acquisition"""
_RECONS_PATTERN = '_slice_'
_RECONS_PATTERN = 'slice_'
_PAG_RECONS_PATTERN = '_slice_pag_'
_PAG_RECONS_PATTERN = 'slice_pag_'
def __init__(self, scan_path, n_radio, n_ini_radio=None, n_extra_radio=0,
scan_range=360, n_recons=0, n_pag_recons=0, recons_vol=False,
dim=200):
self._last_radio_index = -1
super(MockEDF, self).__init__(scan_path=scan_path, n_radio=n_radio,
n_ini_radio=n_ini_radio,
n_extra_radio=n_extra_radio,
scan_range=scan_range,
n_recons=n_recons,
n_pag_recons=n_pag_recons,
recons_vol=recons_vol, dim=dim)
n_ini_radio=n_ini_radio,
n_extra_radio=n_extra_radio,
scan_range=scan_range,
n_recons=n_recons,
n_pag_recons=n_pag_recons,
recons_vol=recons_vol, dim=dim)
def get_info_file(self):
return os.path.join(self.scan_path, os.path.basename(self.scan_path) + '.info')
......
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