Skip to content

Commit 9856ee6

Browse files
Prevent resume_after setting
1 parent 3c78700 commit 9856ee6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

activitysim/core/calibration.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,11 @@ def _run_multiprocess_with_overrides(
14361436

14371437
state.settings.models = models
14381438
state.settings.multiprocess_steps = calibration_mp_steps
1439-
state.settings.resume_after = resume_after
1439+
# Always None: calibration manages pipeline state externally via
1440+
# _restore_parent_state_from_pipeline and checkpoint.add, so the MP
1441+
# system's breadcrumb-based resume logic must not be triggered.
1442+
# Apportion uses LAST_CHECKPOINT to read from the current pipeline state.
1443+
state.settings.resume_after = None
14401444

14411445
try:
14421446
injectables = _build_calibration_injectables(state)

0 commit comments

Comments
 (0)