diff --git a/openmc/statepoint.py b/openmc/statepoint.py index 014830d58f..e7e8d8e089 100644 --- a/openmc/statepoint.py +++ b/openmc/statepoint.py @@ -429,6 +429,7 @@ class StatePoint(object): # Add the scores to the Tally for j, score in enumerate(scores): + score = score.decode() # If this is a moment, use generic moment order regexp = re.compile(r'-n$|-pn$|-yn$')