Skip to content

Commit

Permalink
Updated parse_species_list method and other changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rudrakshnalbalwar committed Oct 2, 2024
1 parent 11a771a commit c7d0f59
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tardis/io/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def yaml_load_file(filename, loader=yaml.Loader):
return yaml.load(stream, Loader=loader)


def _parse_species_list(self, species_list, packets_mode, nelements=None):
def parse_species_list(self, species_list, packets_mode, nelements=None):
"""
Parse user requested species list and create list of species ids to be used.
Expand All @@ -159,7 +159,6 @@ def _parse_species_list(self, species_list, packets_mode, nelements=None):
If species list contains invalid entries.
"""
from tardis.util.base import atomic_number2element_symbol
self.sdec_plotter._parse_species_list(species_list)
self._species_list = self.sdec_plotter._species_list
self._species_mapped = self.sdec_plotter._species_mapped
Expand Down

0 comments on commit c7d0f59

Please sign in to comment.