Skip to content

Commit

Permalink
delete the duplicated lines
Browse files Browse the repository at this point in the history
  • Loading branch information
DeerWhale committed Jan 24, 2024
1 parent 980227c commit 2c34884
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tardis/model/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,15 +260,6 @@ def from_config(cls, config, atom_data):
density, nuclide_mass_fraction, atom_data.atom_data.mass.copy()
)

nuclide_mass_fraction = parse_abundance_config(
config, geometry, time_explosion
)

# using atom_data.mass.copy() to ensure that the original atom_data is not modified
composition = Composition(
density, nuclide_mass_fraction, atom_data.atom_data.mass.copy()
)

packet_source = parse_packet_source(config, geometry)
radiation_field_state = parse_radiation_field_state(
config,
Expand Down

0 comments on commit 2c34884

Please sign in to comment.