Skip to content

Commit

Permalink
change prepare_atom_data() call to work with tardis restructure (#169)
Browse files Browse the repository at this point in the history
* change prepare_atom_data() call to work with tardis restructure

* fix conftest
  • Loading branch information
jvshields authored Feb 12, 2024
1 parent b3f06c9 commit 348be6a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion stardis/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ def run_stardis(config_fname, tracing_lambdas_or_nus):
]
)
+ 1,
)
),
line_interaction_type="macroatom",
nlte_species=[],
continuum_interaction_species=[],
)
# plasma
stellar_plasma = create_stellar_plasma(stellar_model, adata, config)
Expand Down
5 changes: 4 additions & 1 deletion stardis/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ def example_stellar_plasma(
]
)
+ 1,
)
),
line_interaction_type="macroatom",
nlte_species=[],
continuum_interaction_species=[],
)
return create_stellar_plasma(
example_stellar_model, example_kurucz_atomic_data, example_config
Expand Down

0 comments on commit 348be6a

Please sign in to comment.