GitLab will be upgraded on June 23rd evening. During the upgrade the service will be unavailable, sorry for the inconvenience.

Commit f95bd687 authored by payno's avatar payno

[black format]

parent 28cb72cc
......@@ -516,7 +516,7 @@ class HDF5TomoScan(TomoScanBase):
@property
def return_projs(self) -> typing.Union[None, list]:
""""""
""" """
frames = self.frames
if frames:
return_frames = list(filter(lambda x: x.is_control == True, frames))
......@@ -832,7 +832,7 @@ class HDF5TomoScan(TomoScanBase):
@property
def frames(self) -> typing.Union[None, tuple]:
"""return tuple of frames. Frames contains """
"""return tuple of frames. Frames contains"""
if self._frames is None:
image_keys = self.image_key
rotation_angles = self.rotation_angle
......
......@@ -264,7 +264,7 @@ class TestOriDarksFlats(unittest.TestCase):
class TestProjections(unittest.TestCase):
"""Test that the """
"""Test that the"""
def setUp(self) -> None:
self.folder = tempfile.mkdtemp()
......
......@@ -65,7 +65,7 @@ class TestHDF5Scan(HDF5TestBaseClass):
self.scan = HDF5TomoScan(scan=self.dataset_file)
def testGeneral(self):
"""some general on the HDF5Scan """
"""some general on the HDF5Scan"""
self.assertEqual(self.scan.master_file, self.dataset_file)
self.assertEqual(self.scan.path, os.path.dirname(self.dataset_file))
self.assertEqual(self.scan.type, "hdf5")
......
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