Fix unit test using Geometry.from_xml on a hex lattice

This commit is contained in:
Paul Romano 2019-06-08 06:57:57 -05:00
parent 853438083a
commit d36adef280

View file

@ -1376,7 +1376,7 @@ class HexLattice(Lattice):
lat = cls(lat_id, name)
lat.center = [float(i) for i in get_text(elem, 'center').split()]
lat.pitch = [float(i) for i in get_text(elem, 'pitch').split()]
lat.orientation = get_text(elem, 'orientation')
lat.orientation = get_text(elem, 'orientation', 'y')
outer = get_text(elem, 'outer')
if outer is not None:
lat.outer = get_universe(int(outer))