From 1e70cd0f06ac1e3476d6873648d89657f230c68b Mon Sep 17 00:00:00 2001 From: Guilherme Francisco Date: Mon, 28 Oct 2024 15:52:46 +0000 Subject: [PATCH 1/2] Add new Expeye grants (#246) --- grants/ispyb_expeye_samples_grants.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/grants/ispyb_expeye_samples_grants.sql b/grants/ispyb_expeye_samples_grants.sql index e2643262..2585f012 100644 --- a/grants/ispyb_expeye_samples_grants.sql +++ b/grants/ispyb_expeye_samples_grants.sql @@ -8,6 +8,8 @@ CREATE ROLE IF NOT EXISTS ispyb_expeye_samples_role; GRANT SELECT ON Proposal TO ispyb_expeye_samples_role; GRANT SELECT ON BLSession TO ispyb_expeye_samples_role; +GRANT SELECT ON DataCollectionGroup TO ispyb_expeye_samples_role; +GRANT SELECT ON DataCollection TO ispyb_expeye_samples_role; GRANT SELECT, INSERT, UPDATE, DELETE ON Shipping TO ispyb_expeye_samples_role; GRANT SELECT, INSERT, UPDATE, DELETE ON ShippingHasSession TO ispyb_expeye_samples_role; @@ -44,6 +46,7 @@ GRANT SELECT, INSERT, UPDATE, DELETE ON Project_has_BLSample TO ispyb_expeye_sam GRANT SELECT ON Protein TO ispyb_expeye_samples_role; GRANT SELECT ON Crystal TO ispyb_expeye_samples_role; +GRANT SELECT, INSERT, UPDATE, DELETE ON XFEFluorescenceSpectrum TO ispyb_expeye_samples_role; GRANT SELECT, INSERT, UPDATE, DELETE ON DiffractionPlan TO ispyb_expeye_samples_role; From 7a977131d8ed1fa2c7503aab5d257f07841f5d4b Mon Sep 17 00:00:00 2001 From: Guilherme de Freitas Date: Mon, 16 Mar 2026 11:07:02 +0000 Subject: [PATCH 2/2] Add new processing pipeline entries --- ...26_03_16_ProcessingPipeline_new_pipelines.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 schemas/ispyb/updates/2026_03_16_ProcessingPipeline_new_pipelines.sql diff --git a/schemas/ispyb/updates/2026_03_16_ProcessingPipeline_new_pipelines.sql b/schemas/ispyb/updates/2026_03_16_ProcessingPipeline_new_pipelines.sql new file mode 100644 index 00000000..17de83c6 --- /dev/null +++ b/schemas/ispyb/updates/2026_03_16_ProcessingPipeline_new_pipelines.sql @@ -0,0 +1,16 @@ +INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2026_03_16_ProcessingPipeline_new_pipelines.sql ', 'ONGOING'); + +INSERT INTO + ProcessingPipeline (processingPipelineCategoryId, + name, + discipline, + pipelineStatus, + reprocessing) +VALUES (2,'autoPROC+STARANISO','MX','automatic',0), + (2,'xia2/DIALS (multi)','MX','automatic',0), + (2,'xia2/3dii (multi)','MX','automatic',0); + +UPDATE ProcessingPipeline SET name = "xia2/XDS" WHERE processingPipelineId = 4; +UPDATE ProcessingPipeline SET name = "xia2/3dii" WHERE processingPipelineId = 7; + +UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2026_03_16_ProcessingPipeline_new_pipelines.sql ';