From 370a0f2677d0dae641901491ccda04fd138d4760 Mon Sep 17 00:00:00 2001 From: Sam Shaner Date: Wed, 21 Oct 2015 12:04:54 -0400 Subject: [PATCH] added decoding of score in statepoint.py --- openmc/statepoint.py | 1 + 1 file changed, 1 insertion(+) 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$')