Skip to content

Commit

Permalink
Assign isotope abund. in model
Browse files Browse the repository at this point in the history
  • Loading branch information
vg3095 committed Jul 12, 2017
1 parent f7e3450 commit fda1b11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tardis/model/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ def from_config(cls, config):
abundances_fname = os.path.join(config.config_dirname,
abundances_section.filename)

index, abundance = read_abundances_file(abundances_fname,
abundances_section.filetype)
index, abundance, isotope_abundance = read_abundances_file(abundances_fname,
abundances_section.filetype)

abundance = abundance.replace(np.nan, 0.0)
abundance = abundance[abundance.sum(axis=1) > 0]
Expand Down

0 comments on commit fda1b11

Please sign in to comment.