You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(run): replace -e/--exclusive flag with NUMBER_LIST (#746)
The exclusive input-ID flag and the NUMBER_LIST config option converged
in FileHandler._format_process_list and did the same thing for a single
ID; NUMBER_LIST is now the one mechanism.
Pipeline:
- remove -e/--exclusive from args.py and its plumbing through run.py,
FileHandler, and JobHandler (where it was stored but never used)
- NUMBER_LIST entries are now validated against the input file numbers
found on disk, preserving -e's early failure on a wrong ID: the run
aborts at start-up instead of when a module first opens files
- unit tests for the validation (subset passes, typo raises, no-list
scan path unchanged)
Canfar chain (script-level -e options are unchanged; one ID per
headless job remains the interface):
- job_sp_canfar.bash, job_sp_canfar_v2.0.bash, and
init_run_exclusive_canfar.sh write NUMBER_LIST into a per-job config
copy (set_config_number_list: insert-or-replace under [FILE], ID in
numbering-scheme form: leading dash, dots->dashes) instead of passing
-e to shapepipe_run. Side benefit: the processed ID is recorded in
the config copied to the run's log directory.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments