2
2
3
3
from imcflibs .imagej .bdv import DefinitionOptions
4
4
5
+
5
6
def test_defaults ():
6
7
"""Test the default options by calling all formatters on a "raw" objects."""
7
8
acitt_options = (
8
9
"multiple_angles=[NO (one angle)] "
9
10
"multiple_channels=[YES (all channels in one file)] "
10
- "multiple_illuminations =[NO (one illumination direction)] "
11
+ "multiple_illuminations_directions =[NO (one illumination direction)] "
11
12
"multiple_tiles=[YES (one file per tile)] "
12
13
"multiple_timepoints=[NO (one time-point)] "
13
14
)
@@ -32,7 +33,7 @@ def test__multiple_timepoints_files():
32
33
acitt_options = (
33
34
"multiple_angles=[NO (one angle)] "
34
35
"multiple_channels=[YES (all channels in one file)] "
35
- "multiple_illuminations =[NO (one illumination direction)] "
36
+ "multiple_illuminations_directions =[NO (one illumination direction)] "
36
37
"multiple_tiles=[YES (one file per tile)] "
37
38
"multiple_timepoints=[YES (one file per time-point)] "
38
39
)
@@ -42,13 +43,14 @@ def test__multiple_timepoints_files():
42
43
43
44
assert def_opts .fmt_acitt_options () == acitt_options
44
45
46
+
45
47
def test__multiple_channels_files_multiple_timepoints ():
46
48
"""Test an example setting how to treat multiple channels and multiple time-points."""
47
49
48
50
acitt_options = (
49
51
"multiple_angles=[NO (one angle)] "
50
52
"multiple_channels=[YES (one file per channel)] "
51
- "multiple_illuminations =[NO (one illumination direction)] "
53
+ "multiple_illuminations_directions =[NO (one illumination direction)] "
52
54
"multiple_tiles=[YES (one file per tile)] "
53
55
"multiple_timepoints=[YES (all time-points in one file)] "
54
56
)
@@ -59,14 +61,15 @@ def test__multiple_channels_files_multiple_timepoints():
59
61
60
62
assert def_opts .fmt_acitt_options () == acitt_options
61
63
64
+
62
65
def test_single_tile_multiple_angles_files ():
63
66
"""Test an example setting how to treat single tile and multiple angle
64
67
files"""
65
68
66
69
acitt_options = (
67
70
"multiple_angles=[YES (one file per angle)] "
68
71
"multiple_channels=[YES (all channels in one file)] "
69
- "multiple_illuminations =[NO (one illumination direction)] "
72
+ "multiple_illuminations_directions =[NO (one illumination direction)] "
70
73
"multiple_tiles=[NO (one tile)] "
71
74
"multiple_timepoints=[NO (one time-point)] "
72
75
)
0 commit comments