Skip to content

Commit

Permalink
Fixed GUI #950 tardis/gui/widgets.py
Browse files Browse the repository at this point in the history
  • Loading branch information
James Gillanders committed Oct 7, 2019
1 parent 1d7870e commit dbb7987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/gui/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ def __init__(self, line_interaction_analysis, atom_data, lines_data, description
species_abundances = (
line_interaction_species_group.wavelength.count().astype(float) /
line_interaction_analysis.last_line_in.wavelength.count()).astype(float).tolist()
species_abundances = map(float, species_abundances)
species_abundances = list(map(float, species_abundances))
species_table_model.add_data(species_abundances)
self.species_table.setModel(species_table_model)

Expand Down

0 comments on commit dbb7987

Please sign in to comment.