schrodinger.seam.testing.stu_tests.rescount_persistent_worker_crash module¶
Test that a user-transform crash under –use-persistent-workers is recorded in seam/.events as a WorkersFailedError, not a SeamInternalError.
Runs the rescount example with SCHRODINGER_CRASH_RESCOUNT=True (which makes the per-residue Analyze transform raise a RuntimeError) and –use-persistent-workers, then inspects the resulting seam/.events file.
Usage:
$SCHRODINGER/run python3 -m schrodinger.seam.testing.stu_tests.rescount_persistent_worker_crash
- schrodinger.seam.testing.stu_tests.rescount_persistent_worker_crash.main()¶