def test_open_series(self): filename = UtilsTest.getimage("multiframes.edf.bz2") filename = filename.replace(".bz2", "") series = fabio.open_series(filenames=[filename]) for _frame in series.frames(): pass series.close()
def test_open_series_first_filename(self): filename = UtilsTest.getimage("multiframes.edf.bz2") filename = filename.replace(".bz2", "") with fabio.open_series(first_filename=filename) as series: for _frame in series.frames(): pass