Skip to content

Trigger multi-xia2 on I23 - #394

Open
pblowey wants to merge 2 commits into
mainfrom
collate_sweeps_i23
Open

pblowey wants to merge 2 commits into
mainfrom
collate_sweeps_i23

Conversation

@pblowey

@pblowey pblowey commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Addresses https://github.com/DiamondLightSource/mx-analysis/issues/50

Adds function to trigger service for running multi-xia2. On most MX beamlines, mutli-xia2 runs automatically on data collections collected in the same data collection group. This used to also be true for I23. I23 no longer have data collection group functionality (not clear why this the case), however, they would still like multi-xia2 to run on MAD wedge style experiments.

The new trigger function is designed to be called with a delay from the start of the xia2 recipes. The trigger function has logic to then check to see if any more recent data collections have been made with matching sampleid, sessionid, prefix and run number. If there is a more recent collection, the trigger is skipped as the more recent data collection will also attempt to trigger multi-xia2. If there is not a more recent data collection that matches the criteria, the MAD wedge experiment will have been assumed to have completed and the pipeline will run. The delay (which is set by the recipe) should be long enough to allow subsequent wedges to have been collected before the trigger conditions are assessed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant