runtraj.Simulation.path#
- Simulation.path(kind)[source]#
Return the path of this simulation’s file of kind in the output directory.
kind is a result type,
"particles"for most variants (runtraj.config.Variant.result), or the name of a stage, such as"footprint".Nonebefore the variant’s folder of that kind exists, for a stage the variant does not use, and for a result type it does not make. The file may not exist yet (has()). A stage that reads another stage’s file finds it here, and reads it with that stage’s own reader.Examples
>>> sim.path("footprint")