Skip to content

Rewrite dc_sim - #404

Open
pblowey wants to merge 13 commits into
mainfrom
revamp_dc_sim
Open

pblowey wants to merge 13 commits into
mainfrom
revamp_dc_sim

Conversation

@pblowey

@pblowey pblowey commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Main motivation is to migrate dc_sim away from using db_server in favour of ispyb-api calls. Old dc_sim code was complicated and had features that are no longer used anymore, including options for em data and pre-defined scenario datasets.

New code is now self contained in the wrapper. Usage is to call the recipe via zocalo.go -r dc_sim 123456 where the recipe is called against an existing data collection, allowing normal ispybtbx queries for that data collection to be used. Other options can be passed as arguments using -s, which include:

  • copy_dcg - If set to True, this will simulate the entire data collection group that the data collection is in.
  • dest_visit - Override the default destination visit for simulated data.

Processing requests are then made to mimas by sending messages to the next step in the recipe.

PR also removes old dc_sim code from the repository.

Relies on recipe changes in https://gitlab.diamond.ac.uk/scisoft/zocalo/-/merge_requests/221

@pblowey
pblowey requested a review from isikhar October 29, 2026 11:30
@pblowey pblowey linked an issue Oct 29, 2026 that may be closed by this pull request
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.

Migrate dc_sim from using dbserver

1 participant