Skip to content

Commit

Permalink
Update fiasco/ions.py
Browse files Browse the repository at this point in the history
Co-authored-by: Will Barnes <will.t.barnes@gmail.com>
  • Loading branch information
jwreep and wtbarnes authored Dec 17, 2024
1 parent 155fbd9 commit e32cee1
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions fiasco/ions.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,17 +200,6 @@ def ionization_fraction(self):

@ionization_fraction.setter
def ionization_fraction(self, ionization_fraction):
"""
Sets the ionization fraction for an ion
Parameters
----------
self :
The `~fiasco.Ion` instance
ionization_fraction :
An array of ionization fractions as a function of temperature
"""
if isinstance(ionization_fraction, str):
self._dset_names['ionization_fraction'] = ionization_fraction
self._ionization_fraction = self.calculate_ionization_fraction()
Expand Down

0 comments on commit e32cee1

Please sign in to comment.