@@ -262,14 +262,14 @@ def flip_sense(surf):
262262 surf = surface_composite .XConeOneSided (x0 = x0 , y0 = y0 , z0 = z0 , r2 = R2 , up = up )
263263 elif s ['mnemonic' ] == 'k/y' :
264264 surf = surface_composite .YConeOneSided (x0 = x0 , y0 = y0 , z0 = z0 , r2 = R2 , up = up )
265- elif s [ 'mnemonic' ] == 'k/z' :
265+ else :
266266 surf = surface_composite .ZConeOneSided (x0 = x0 , y0 = y0 , z0 = z0 , r2 = R2 , up = up )
267267 else :
268268 if s ['mnemonic' ] == 'k/x' :
269269 surf = openmc .XCone (surface_id = s ['id' ], x0 = x0 , y0 = y0 , z0 = z0 , r2 = R2 )
270270 elif s ['mnemonic' ] == 'k/y' :
271271 surf = openmc .YCone (surface_id = s ['id' ], x0 = x0 , y0 = y0 , z0 = z0 , r2 = R2 )
272- elif s [ 'mnemonic' ] == 'k/z' :
272+ else :
273273 surf = openmc .ZCone (surface_id = s ['id' ], x0 = x0 , y0 = y0 , z0 = z0 , r2 = R2 )
274274 elif s ['mnemonic' ] in ('kx' , 'ky' , 'kz' ):
275275 x , R2 = coeffs [:2 ]
@@ -279,14 +279,14 @@ def flip_sense(surf):
279279 surf = surface_composite .XConeOneSided (x0 = x , r2 = R2 , up = up )
280280 elif s ['mnemonic' ] == 'ky' :
281281 surf = surface_composite .YConeOneSided (y0 = x , r2 = R2 , up = up )
282- elif s [ 'mnemonic' ] == 'kz' :
282+ else :
283283 surf = surface_composite .ZConeOneSided (z0 = x , r2 = R2 , up = up )
284284 else :
285285 if s ['mnemonic' ] == 'kx' :
286286 surf = openmc .XCone (surface_id = s ['id' ], x0 = x , r2 = R2 )
287287 elif s ['mnemonic' ] == 'ky' :
288288 surf = openmc .YCone (surface_id = s ['id' ], y0 = x , r2 = R2 )
289- elif s [ 'mnemonic' ] == 'kz' :
289+ else :
290290 surf = openmc .ZCone (surface_id = s ['id' ], z0 = x , r2 = R2 )
291291 elif s ['mnemonic' ] == 'sq' :
292292 a , b , c , D , E , F , G , x , y , z = coeffs
0 commit comments