From e5448bf16db2514430f8f90044b418a40f919624 Mon Sep 17 00:00:00 2001 From: Gavin Ridley Date: Thu, 14 Nov 2019 15:59:50 -0500 Subject: [PATCH] bin is apparently a keyword in python --- scripts/openmc-plot-mesh-tally | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/openmc-plot-mesh-tally b/scripts/openmc-plot-mesh-tally index e500cd5ca7..b4ce925874 100755 --- a/scripts/openmc-plot-mesh-tally +++ b/scripts/openmc-plot-mesh-tally @@ -176,8 +176,8 @@ class MeshPlotter(tk.Frame): # Set combobox items if filterType in ['Energy', 'Energyout']: - combobox['values'] = ['{} to {}'.format(bin) - for bin in f.bins)] + combobox['values'] = ['{} to {}'.format(*ebin) + for ebin in f.bins] else: combobox['values'] = [str(i) for i in f.bins]