diff --git a/tardis/grid/base.py b/tardis/grid/base.py index 14f2c4227c0..8f27e218431 100644 --- a/tardis/grid/base.py +++ b/tardis/grid/base.py @@ -111,7 +111,7 @@ def grid_row_to_model(self, row_index): model = Radial1DModel.from_config(rowconfig) return model - def run_sim_from_grid(self, row_index): + def run_sim_from_grid(self, row_index, **tardiskwargs): """ Runs a full TARDIS simulation using the base self.config modified by the user specified row_index. @@ -127,7 +127,7 @@ def run_sim_from_grid(self, row_index): Completed TARDIS simulation object. """ tardis_config = self.grid_row_to_config(row_index) - sim = tardis.run_tardis(tardis_config) + sim = tardis.run_tardis(tardis_config, **tardiskwargs) return sim def save_grid(self, filename):