Skip to content

Commit

Permalink
Merge 1fed0ed into ba0cb2d
Browse files Browse the repository at this point in the history
  • Loading branch information
ssim committed Mar 24, 2014
2 parents ba0cb2d + 1fed0ed commit e341453
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tardis/atomic.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ def prepare_atom_data(self, selected_atomic_numbers, line_interaction_type='scat
if max_ion_number is not None:
self.lines = self.lines[self.lines['ion_number'] <= max_ion_number]

self.lines.is_copy = False
self.lines.sort('wavelength', inplace=True)

self.lines_index = pd.Series(np.arange(len(self.lines), dtype=int), index=self.lines.index)
Expand Down

0 comments on commit e341453

Please sign in to comment.