@@ -114,6 +114,7 @@ def test_load_geant4_csv_mantle_has_expected_coords(file):
114
114
assert_index_coord (mantle .coords ["wire" ], values = set (range (1 , 33 )))
115
115
assert_index_coord (mantle .coords ["strip" ], values = set (range (1 , 257 )))
116
116
assert "sector" not in mantle .coords
117
+ assert "sumo" not in mantle .coords
117
118
118
119
assert "sector" not in mantle .bins .coords
119
120
assert "tof" in mantle .bins .coords
@@ -127,6 +128,7 @@ def test_load_geant4_csv_endcap_backward_has_expected_coords(file):
127
128
assert_index_coord (endcap .coords ["counter" ])
128
129
assert_index_coord (endcap .coords ["wire" ], values = set (range (1 , 17 )))
129
130
assert_index_coord (endcap .coords ["strip" ], values = set (range (1 , 17 )))
131
+ assert_index_coord (endcap .coords ["sumo" ], values = set (range (3 , 7 )))
130
132
assert "sector" not in endcap .coords
131
133
132
134
assert "sector" not in endcap .bins .coords
@@ -141,6 +143,7 @@ def test_load_geant4_csv_endcap_forward_has_expected_coords(file):
141
143
assert_index_coord (endcap .coords ["counter" ])
142
144
assert_index_coord (endcap .coords ["wire" ], values = set (range (1 , 17 )))
143
145
assert_index_coord (endcap .coords ["strip" ], values = set (range (1 , 17 )))
146
+ assert_index_coord (endcap .coords ["sumo" ], values = set (range (3 , 7 )))
144
147
assert "sector" not in endcap .coords
145
148
146
149
assert "sector" not in endcap .bins .coords
@@ -156,6 +159,7 @@ def test_load_geant4_csv_high_resolution_has_expected_coords(file):
156
159
assert_index_coord (hr .coords ["wire" ], values = set (range (1 , 17 )))
157
160
assert_index_coord (hr .coords ["strip" ], values = set (range (1 , 33 )))
158
161
assert_index_coord (hr .coords ["sector" ], values = set (range (1 , 5 )))
162
+ assert "sumo" not in hr .coords
159
163
160
164
assert "tof" in hr .bins .coords
161
165
assert "position" in hr .coords
@@ -172,6 +176,7 @@ def test_load_geant4_csv_sans_has_expected_coords(file):
172
176
assert_index_coord (sans .coords ["wire" ], values = set (range (1 , 17 )))
173
177
assert_index_coord (sans .coords ["strip" ], values = set (range (1 , 33 )))
174
178
assert_index_coord (sans .coords ["sector" ], values = set (range (1 , 5 )))
179
+ assert "sumo" not in sans .coords
175
180
176
181
assert "tof" in sans .bins .coords
177
182
assert "position" in sans .coords
0 commit comments