diff --git a/src/python/pygrackle/yt_fields.py b/src/python/pygrackle/yt_fields.py index d9c62725..d9752cf7 100644 --- a/src/python/pygrackle/yt_fields.py +++ b/src/python/pygrackle/yt_fields.py @@ -118,8 +118,9 @@ def prepare_grackle_data(ds, parameters=None): sim_type = type(ds) par_map = _parameter_map.get(sim_type) if par_map is None: - raise RuntimeError( - "Simulation type not supported: %s." % sim_type) + print (f"Warning: cannot get Grackle parameters from {sim_type}.\n" + "All parameters need to be supplied through the \"parameters\" keyword.") + par_map = {} all_parameters = \ dict([(gpar, ds.parameters[dpar])