Skip to content

Commit 370d49d

Browse files
committed
Run data reduction for Characterization dcclass as priority
1 parent a6161f2 commit 370d49d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/dlstbx/mimas/core.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,9 @@ def handle_rotation_end(
315315
ppl_autostart: dict[str, bool] = {}
316316
ppl_suffix: dict[str, str] = {}
317317
ppl_triggervars: dict[str, Tuple[mimas.MimasISPyBTriggerVariable, ...]] = {}
318+
is_dcclass_characterization = (
319+
scenario.dcclass is mimas.MimasDCClass.CHARACTERIZATION
320+
)
318321
for ppl, recipe in (
319322
("xia2/DIALS", "autoprocessing-xia2-dials"),
320323
("xia2/XDS", "autoprocessing-xia2-3dii"),
@@ -325,7 +328,7 @@ def handle_rotation_end(
325328
ppl_autostart[ppl] = False
326329
ppl_suffix[ppl] = suffix_pref
327330
ppl_triggervars[ppl] = triggervars_pref
328-
if scenario.preferred_processing == ppl:
331+
if scenario.preferred_processing == ppl or is_dcclass_characterization:
329332
ppl_autostart[ppl] = True
330333
elif any(r in recipe for r in cloud_recipes):
331334
ppl_suffix[ppl] = suffix

0 commit comments

Comments
 (0)