Skip to content

Commit

Permalink
Reverting change from tardis-sn#1141
Browse files Browse the repository at this point in the history
  • Loading branch information
epassaro committed May 27, 2020
1 parent 675895f commit 25c234b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tardis/io/atom_data/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,6 @@ def __init__(self, atom_data, ionization_data, levels=None, lines=None,
# Convert energy to CGS
levels.loc[:, "energy"] = Quantity(levels["energy"].values, 'eV').cgs

# Sort the dataframe before indexing to improve performance
lines.sort_index(inplace=True)

# Create a new columns with wavelengths in the CGS units
lines.loc[:, 'wavelength_cm'] = Quantity(
lines['wavelength'], 'angstrom').cgs
Expand Down

0 comments on commit 25c234b

Please sign in to comment.