upxo.meshing.gbconformant.pipeline.worker module

Child process that runs one stage from the saved results of its run folder.

Started by background as python -m upxo.meshing.gbconformant.pipeline.worker JOB EVENTS. It restores the stages before the one to run, runs it (which saves its results), and appends one JSON object per line to the EVENTS file: progress while it works, then finished or failed.

class upxo.meshing.gbconformant.pipeline.worker.EventFile(path: Path)[source]

Bases: object

Appends one JSON line per event; the reader only consumes complete lines.

write(**event) → None[source]
close() → None[source]
upxo.meshing.gbconformant.pipeline.worker.run_job(job: dict, events: EventFile) → int[source]
upxo.meshing.gbconformant.pipeline.worker.main(argv=None) → int[source]