From dbb7987d4eb24e80184f2db92449ab1dd21fcb70 Mon Sep 17 00:00:00 2001 From: James Gillanders Date: Mon, 7 Oct 2019 10:01:21 +0100 Subject: [PATCH] Fixed GUI #950 tardis/gui/widgets.py --- tardis/gui/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)