Skip to content

Commit

Permalink
Fixed indentation and position of delta_treatment in plasma/standard_…
Browse files Browse the repository at this point in the history
…plasmas.py (#841)
  • Loading branch information
Heringer-Epson authored and wkerzendorf committed Jul 18, 2018
1 parent 1ee849e commit 96e3e3c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tardis/plasma/standard_plasmas.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,12 @@ def assemble_plasma(config, model, atom_data=None):
if config.plasma.line_interaction_type in ('downbranch', 'macroatom'):
plasma_modules += macro_atom_properties

if 'delta_treatment' in config.plasma:
property_kwargs[RadiationFieldCorrection] = dict(
delta_treatment=config.plasma.delta_treatment)

if config.plasma.helium_treatment == 'recomb-nlte':
plasma_modules += helium_nlte_properties
if 'delta_treatment' in config.plasma:
property_kwargs[RadiationFieldCorrection] = dict(
delta_treatment=config.plasma.delta_treatment)
elif config.plasma.helium_treatment == 'numerical-nlte':
plasma_modules += helium_numerical_nlte_properties
# TODO: See issue #633
Expand Down

0 comments on commit 96e3e3c

Please sign in to comment.