diff --git a/tardis/gui/widgets.py b/tardis/gui/widgets.py index 514e8f32d9e..fd264a78880 100644 --- a/tardis/gui/widgets.py +++ b/tardis/gui/widgets.py @@ -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)