diff --git a/tardis/plasma/properties/atomic.py b/tardis/plasma/properties/atomic.py index e8ec384bed2..6ade1ae1377 100644 --- a/tardis/plasma/properties/atomic.py +++ b/tardis/plasma/properties/atomic.py @@ -464,7 +464,6 @@ def calculate(self, atomic_data): ], names=["source_level_idx", "destination_level_idx"], ) - level_idxs2line_idx = pd.Series( np.arange(len(index)), index=index, name="lines_idx" ) diff --git a/tardis/plasma/properties/transition_probabilities.py b/tardis/plasma/properties/transition_probabilities.py index d11cf1fa90d..9def7e650df 100644 --- a/tardis/plasma/properties/transition_probabilities.py +++ b/tardis/plasma/properties/transition_probabilities.py @@ -1,5 +1,4 @@ import logging -from operator import le import numpy as np import pandas as pd