mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
add a decoding method to transform bytes to string
This commit is contained in:
parent
8ae6c30d6b
commit
00f346d40c
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ class Lattice(IDManagerMixin, metaclass=ABCMeta):
|
|||
pitch = group['pitch'][()]
|
||||
outer = group['outer'][()]
|
||||
if ('orientation' in group.keys()):
|
||||
orientation = group['orientation'][()]
|
||||
orientation = group['orientation'][()].decode()
|
||||
else:
|
||||
orientation = "oy"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue