Skip to content

Commit c03f792

Browse files
committed
Formatting
1 parent 09c790c commit c03f792

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

tests/bdv/test_define_dataset_auto.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from imcflibs.imagej import bdv
55

66

7-
def set_default_values(project_filename, file_path, series_type = "Tiles"):
7+
def set_default_values(project_filename, file_path, series_type="Tiles"):
88
"""Set the default values for dataset definitions.
99
1010
Parameters

tests/bdv/test_definitionoptions.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import pytest
2-
32
from imcflibs.imagej.bdv import DefinitionOptions
43

54

@@ -17,6 +16,7 @@ def test_defaults():
1716

1817
assert def_opts.fmt_acitt_options() == acitt_options
1918

19+
2020
def test__definition_option():
2121
"""Test an example with wrong setting for definition option."""
2222

@@ -25,7 +25,10 @@ def test__definition_option():
2525
def_opts = DefinitionOptions()
2626
with pytest.raises(ValueError) as excinfo:
2727
def_opts.set_angle_definition(test_value)
28-
assert str(excinfo.value) == "Value must be one of single, multi_multi or multi_single"
28+
assert (
29+
str(excinfo.value) == "Value must be one of single, multi_multi or multi_single"
30+
)
31+
2932

3033
def test__multiple_timepoints_files():
3134
"""Test an example setting how to treat multiple time-points."""

0 commit comments

Comments
 (0)