Skip to content

Commit

Permalink
updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jhdark committed Oct 23, 2023
1 parent 89de52f commit e3e5feb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions festim/hydrogen_transport_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ def initialise(self):
def defing_export_writers(self):
"""Defines the export writers of the model"""
for export in self.exports:
# TODO implement when export.field is an int or str
# then find solution from index of species
# if name of species is given then replace with species object
for idx, field in enumerate(export.field):
if isinstance(field, str):
export.field[idx] = F.find_species_from_name(field, self.species)
Expand Down

0 comments on commit e3e5feb

Please sign in to comment.