Skip to content

Commit dd0df02

Browse files
committed
style: More formatting
Signed-off-by: Sricharan Reddy Varra <[email protected]>
1 parent 0656cde commit dd0df02

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

iohub/_deprecated/upti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, folder: str, extract_data: bool = False):
2828
self.files = glob.glob(os.path.join(folder, "*.tif"))
2929
info_img = tiff.imread(self.files[0])
3030
self.dtype = info_img.dtype
31-
(self.height, self.width) = info_img.shape
31+
self.height, self.width = info_img.shape
3232
self.positions = 1
3333
self.frames = 1
3434
self.patterns = 0

iohub/ngff/utils.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -586,11 +586,9 @@ def process_single_position(
586586
# Check for invalid times
587587
time_ubound = input_data_shape[0] - 1
588588
if np.max(input_time_indices) > time_ubound:
589-
raise ValueError(
590-
f"""input_time_indices = {input_time_indices} includes
589+
raise ValueError(f"""input_time_indices = {input_time_indices} includes
591590
a time index beyond the maximum index of
592-
the dataset = {time_ubound}"""
593-
)
591+
the dataset = {time_ubound}""")
594592

595593
# Write extra metadata to the output store
596594
extra_metadata = kwargs.pop("extra_metadata", None)

0 commit comments

Comments
 (0)