Skip to content

Commit

Permalink
bin is apparently a keyword in python
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin Ridley committed Nov 14, 2019
1 parent a9031a2 commit e5448bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/openmc-plot-mesh-tally
Expand Up @@ -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]

Expand Down

0 comments on commit e5448bf

Please sign in to comment.