Skip to content

Upload parent appid to ispyb#351

Open
pblowey wants to merge 2 commits intomainfrom
upload-parent-appid-to-ispyb
Open

Upload parent appid to ispyb#351
pblowey wants to merge 2 commits intomainfrom
upload-parent-appid-to-ispyb

Conversation

@pblowey
Copy link
Contributor

@pblowey pblowey commented Mar 20, 2026

Populates the parentAutoProcProgramId column of the AutoProcProgram ISPyB table when registering processing to enable easier tracing of upstream pipelines.

Replaces the stored program call used for registerring processing with a more direct call to the ispyb-api. This is to avoid updating the stored program in the ispyb-api as the ispyb team are moving away from using stored programs. Only the register_processing function has been edited as parentAutoProcProgramId will only need to be populated at the start of processing. Function is provided the scaling_id from the parent AutoProcProgram and obtains the corresponding parent autoProcProgramId from the database.

The scaling_id can be provided to the ispyb service either in the environment dictionary (which is typically populated with {ispyb_reprocessing_parameters}) or from an explicitly named parameter in the service call.

Updates the ispyb api dependency tp 11.1.2 to pick up the schema changes that include the new parentAutoProcProgramId column.

@pblowey pblowey requested a review from isikhar March 20, 2026 16:41
@pblowey pblowey linked an issue Mar 20, 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.

Use parentAutorProcProgramId column in ISPyB

1 participant