stilt.index.SimulationIndex#

class stilt.index.SimulationIndex(*args, **kwargs)[source]#

Output simulation registry surface for model, CLI, and workers.

Methods#

count()

Return the total number of registered simulation rows.

counts([scene_id])

Return aggregate queue counts for the whole index or one scene.

has(sim_id)

Return whether one simulation id is already registered.

pending_trajectories()

Return simulation ids whose trajectory work is still pending.

rebuild()

Rebuild output index rows by rescanning outputs.

receptors_for(sim_ids)

Return receptors keyed by simulation id for the requested rows.

record(result)

Record one completed worker result into the durable index.

register(pairs[, receptor, footprint_names, ...])

Register one or many simulations as known rows in the index.

reset_to_pending(sim_ids, *[, clear_outputs])

Reset matching non-running rows back to pending state.

scene_counts()

Return aggregate counts grouped by non-null scene id.

sim_ids()

Return all registered simulation identifiers in stable order.

summaries([sim_ids])

Return output summaries for all rows or one requested subset.