twinfer.simulation.gillespie_simulations.process_param_set

twinfer.simulation.gillespie_simulations.process_param_set(rows, label, base_config)[source]

Processes a set of parameters for a Gillespie simulation, running the simulation for a specified number of cells and handling the results.

Parameters:
  • rows (list) – A list of parameter rows to be processed.

  • label (str) – A label for identifying the simulation run.

  • base_config (dict) – A dictionary containing common parameters such as paths, connectivity matrix, and simulation settings.

Returns:

The file path of the saved DataFrame containing the results of the simulation.

Return type:

str

Raises:

AssertionError – If the number of parameter rows is less than the number of genes.