@@ -34,8 +34,8 @@ Example:
3434
3535``` bash
3636PYTHONPATH=src conda run --no-capture-output -n saxshell-py312 python -m saxshell.mdtrajectory inspect traj.xyz --energy-file traj.ener
37- PYTHONPATH=src conda run --no-capture-output -n saxshell-py312 python -m saxshell.mdtrajectory suggest-cutoff traj.xyz --energy-file traj.ener --temp-target-k 300 --window 3
38- PYTHONPATH=src conda run --no-capture-output -n saxshell-py312 python -m saxshell.mdtrajectory export traj.xyz --energy-file traj.ener --use-suggested-cutoff --temp-target-k 300 --window 3
37+ PYTHONPATH=src conda run --no-capture-output -n saxshell-py312 python -m saxshell.mdtrajectory suggest-cutoff traj.xyz --energy-file traj.ener --temp-target-k 300 --window 2
38+ PYTHONPATH=src conda run --no-capture-output -n saxshell-py312 python -m saxshell.mdtrajectory export traj.xyz --energy-file traj.ener --use-suggested-cutoff --temp-target-k 300 --window 2
3939```
4040
4141When a cutoff is applied, the default folder name now uses the form
@@ -76,6 +76,36 @@ The cluster workflow supports both UI and CLI usage. Its CLI exposes separate
7676The CLI help text explicitly calls out faster neighbor search modes such as
7777` kdtree ` and ` vectorized ` .
7878
79+ ### Project-backed cluster run files
80+
81+ For repeatable project runs, launch the setup window and save a run file in the
82+ SAXSShell project folder:
83+
84+ From the main SAXSShell window, use ** Tools > CLI Setup > Open Cluster
85+ Extraction CLI Setup (Beta)** . The same setup window can also be launched from
86+ a terminal:
87+
88+ ``` bash
89+ PYTHONPATH=src conda run --no-capture-output -n saxshell-py312 python -m saxshell.cluster setup-ui /path/to/saxs_project
90+ ```
91+
92+ The setup window records the project folder, extracted frames folder, output
93+ clusters folder, atom rules, pair cutoffs, PBC/box settings, shell options, and
94+ neighbor-search settings in ` cluster_extraction_cli_run.json ` . Paths inside the
95+ project are stored relative to the project folder so the project can move as a
96+ unit.
97+
98+ After saving, run the extraction from the terminal:
99+
100+ ``` bash
101+ PYTHONPATH=src conda run --no-capture-output -n saxshell-py312 python -m saxshell.cluster run /path/to/saxs_project
102+ ```
103+
104+ Use ` --run-file custom_run.json ` to run a different JSON file. Relative
105+ ` --run-file ` paths are resolved against the project folder. A completed run
106+ updates the project ` clusters_dir ` reference to the output folder while leaving
107+ the existing frames and PDB-frames references unchanged.
108+
79109## ` clusterdynamics `
80110
81111This application consumes the extracted XYZ or PDB frames from ` mdtrajectory `
0 commit comments