Change Recipes
Add A New CLI Option
- edit
autoflow/cli.py
- map the flag into
AutoFlowConfig in autoflow/api.py when it should be public
- update
autoflow/config.py and the right configs/<module>.json file when it needs a config default
- update
build_workspace() if the value must reach workspace state
- update the matching English docs pages
- update
README.md if the quickstart, top-level navigation, or documentation checklist changed
- run the retained smoke and phantom regression suite when needed
Add A New GUI Parameter
- update the relevant config module under
configs/
- update
autoflow/config.py
- update the matching dataclass in
autoflow/core/models.py if it belongs in workspace state
- update UI construction in
autoflow/ui/app.py
- update UI-to-workspace and workspace-to-UI sync code in
autoflow/ui/app.py
- update docs in
docs/en/user/gui.md and the relevant feature page
- run the retained smoke and phantom regression suite when needed
Add A New Pipeline Step
- define or extend the step identifier in
autoflow/core/models.py
- wire the step handler in
autoflow/core/pipeline.py
- update
autoflow/processing.py if the batch order changes
- update
autoflow/ui/app.py if the GUI exposes the step
- update docs for step order, outputs, and usage
- update
README.md if the user-facing quickstart or top-level docs index changed
- run the retained smoke and phantom regression suite when needed
Add A New Output File
- write the file in
autoflow/core/pipeline.py, autoflow/processing.py, or autoflow/rendering/videos.py
- update reporting code if summaries depend on it
- document the file in
docs/en/user/outputs.md
- update
README.md if the quickstart-visible outputs changed
- run the retained smoke and phantom regression suite when needed
Add Or Change Loader Behavior
- edit
autoflow/algorithms/data.py or autoflow/algorithms/dicom.py
- keep the
LoadedCase contract consistent in autoflow/case_types.py
- update
autoflow/core/pipeline.py only if downstream workspace mapping changes
- update the English input docs
- run the retained smoke and phantom regression suite when needed
Add Or Change Segmentation Behavior
- edit source logic in
autoflow/algorithms/segmentation.py
- edit workspace state in
autoflow/core/models.py if needed
- edit GUI wiring in
autoflow/ui/app.py and autoflow/ui/segmentation.py
- edit CLI wiring in
autoflow/cli.py and autoflow/api.py if batch behavior changes
- update segmentation docs in English
- run the retained smoke and phantom regression suite when needed