diff --git a/stardis/base.py b/stardis/base.py index 284260e8..a15ae038 100644 --- a/stardis/base.py +++ b/stardis/base.py @@ -18,7 +18,7 @@ schema = os.path.join(base_dir, "config_schema.yml") -def run_stardis(config_fname, tracing_lambdas_or_nus): +def run_stardis(config_fname, tracing_lambdas_or_nus, atom_data=None): """ Runs a STARDIS simulation. @@ -69,6 +69,8 @@ def run_stardis(config_fname, tracing_lambdas_or_nus): ) + 1, ) + if atom_data == None + else atom_data ) # plasma stellar_plasma = create_stellar_plasma(stellar_model, adata)