From 45d38bc81584b2b212f000a96c344c99c3c952f6 Mon Sep 17 00:00:00 2001 From: Karl Levik Date: Tue, 10 Aug 2021 11:17:48 +0100 Subject: [PATCH] Add 'plan' prefix to new DCPlan column aliases --- .../sp_retrieve_scm_sample.sql | 24 +++++++++---------- ...ple_for_container_barcode_and_location.sql | 24 +++++++++---------- ..._retrieve_scm_samples_for_container_id.sql | 24 +++++++++---------- 3 files changed, 36 insertions(+), 36 deletions(-) diff --git a/schemas/ispyb/stored_programs/sp_retrieve_scm_sample.sql b/schemas/ispyb/stored_programs/sp_retrieve_scm_sample.sql index cc829047..2c363ae3 100644 --- a/schemas/ispyb/stored_programs/sp_retrieve_scm_sample.sql +++ b/schemas/ispyb/stored_programs/sp_retrieve_scm_sample.sql @@ -51,9 +51,9 @@ BEGIN plan.robotPlateTemperature "planRobotPlateTemperature", plan.exposureTemperature "planExposureTemperature", plan.transmission "planTransmission", - plan.qMin "qMin", - plan.qMax "qMax", - plan.reductionParametersAveraging "reductionParametersAveraging", + plan.qMin "planQMin", + plan.qMax "planQMax", + plan.reductionParametersAveraging "planReductionParametersAveraging", p.proposalCode "proposalCode", p.proposalNumber "proposalNumber", @@ -108,9 +108,9 @@ BEGIN plan.robotPlateTemperature "planRobotPlateTemperature", plan.exposureTemperature "planExposureTemperature", plan.transmission "planTransmission", - plan.qMin "qMin", - plan.qMax "qMax", - plan.reductionParametersAveraging "reductionParametersAveraging", + plan.qMin "planQMin", + plan.qMax "planQMax", + plan.reductionParametersAveraging "planReductionParametersAveraging", p.proposalCode "proposalCode", p.proposalNumber "proposalNumber", @@ -167,9 +167,9 @@ BEGIN plan.robotPlateTemperature "planRobotPlateTemperature", plan.exposureTemperature "planExposureTemperature", plan.transmission "planTransmission", - plan.qMin "qMin", - plan.qMax "qMax", - plan.reductionParametersAveraging "reductionParametersAveraging", + plan.qMin "planQMin", + plan.qMax "planQMax", + plan.reductionParametersAveraging "planReductionParametersAveraging", p.proposalCode "proposalCode", p.proposalNumber "proposalNumber", @@ -225,9 +225,9 @@ BEGIN plan.robotPlateTemperature "planRobotPlateTemperature", plan.exposureTemperature "planExposureTemperature", plan.transmission "planTransmission", - plan.qMin "qMin", - plan.qMax "qMax", - plan.reductionParametersAveraging "reductionParametersAveraging", + plan.qMin "planQMin", + plan.qMax "planQMax", + plan.reductionParametersAveraging "planReductionParametersAveraging", p.proposalCode "proposalCode", p.proposalNumber "proposalNumber", diff --git a/schemas/ispyb/stored_programs/sp_retrieve_scm_sample_for_container_barcode_and_location.sql b/schemas/ispyb/stored_programs/sp_retrieve_scm_sample_for_container_barcode_and_location.sql index 234a7869..c2d2cad6 100644 --- a/schemas/ispyb/stored_programs/sp_retrieve_scm_sample_for_container_barcode_and_location.sql +++ b/schemas/ispyb/stored_programs/sp_retrieve_scm_sample_for_container_barcode_and_location.sql @@ -55,9 +55,9 @@ BEGIN plan.robotPlateTemperature "planRobotPlateTemperature", plan.exposureTemperature "planExposureTemperature", plan.transmission "planTransmission", - plan.qMin "qMin", - plan.qMax "qMax", - plan.reductionParametersAveraging "reductionParametersAveraging", + plan.qMin "planQMin", + plan.qMax "planQMax", + plan.reductionParametersAveraging "planReductionParametersAveraging", p.proposalCode "proposalCode", p.proposalNumber "proposalNumber", @@ -112,9 +112,9 @@ BEGIN plan.robotPlateTemperature "planRobotPlateTemperature", plan.exposureTemperature "planExposureTemperature", plan.transmission "planTransmission", - plan.qMin "qMin", - plan.qMax "qMax", - plan.reductionParametersAveraging "reductionParametersAveraging", + plan.qMin "planQMin", + plan.qMax "planQMax", + plan.reductionParametersAveraging "planReductionParametersAveraging", p.proposalCode "proposalCode", p.proposalNumber "proposalNumber", @@ -171,9 +171,9 @@ BEGIN plan.robotPlateTemperature "planRobotPlateTemperature", plan.exposureTemperature "planExposureTemperature", plan.transmission "planTransmission", - plan.qMin "qMin", - plan.qMax "qMax", - plan.reductionParametersAveraging "reductionParametersAveraging", + plan.qMin "planQMin", + plan.qMax "planQMax", + plan.reductionParametersAveraging "planReductionParametersAveraging", p.proposalCode "proposalCode", p.proposalNumber "proposalNumber", @@ -229,9 +229,9 @@ BEGIN plan.robotPlateTemperature "planRobotPlateTemperature", plan.exposureTemperature "planExposureTemperature", plan.transmission "planTransmission", - plan.qMin "qMin", - plan.qMax "qMax", - plan.reductionParametersAveraging "reductionParametersAveraging", + plan.qMin "planQMin", + plan.qMax "planQMax", + plan.reductionParametersAveraging "planReductionParametersAveraging", p.proposalCode "proposalCode", p.proposalNumber "proposalNumber", diff --git a/schemas/ispyb/stored_programs/sp_retrieve_scm_samples_for_container_id.sql b/schemas/ispyb/stored_programs/sp_retrieve_scm_samples_for_container_id.sql index 72ab5d8f..96cbe04b 100644 --- a/schemas/ispyb/stored_programs/sp_retrieve_scm_samples_for_container_id.sql +++ b/schemas/ispyb/stored_programs/sp_retrieve_scm_samples_for_container_id.sql @@ -54,9 +54,9 @@ BEGIN plan.robotPlateTemperature "planRobotPlateTemperature", plan.exposureTemperature "planExposureTemperature", plan.transmission "planTransmission", - plan.qMin "qMin", - plan.qMax "qMax", - plan.reductionParametersAveraging "reductionParametersAveraging", + plan.qMin "planQMin", + plan.qMax "planQMax", + plan.reductionParametersAveraging "planReductionParametersAveraging", p.proposalCode "proposalCode", p.proposalNumber "proposalNumber", @@ -111,9 +111,9 @@ BEGIN plan.robotPlateTemperature "planRobotPlateTemperature", plan.exposureTemperature "planExposureTemperature", plan.transmission "planTransmission", - plan.qMin "qMin", - plan.qMax "qMax", - plan.reductionParametersAveraging "reductionParametersAveraging", + plan.qMin "planQMin", + plan.qMax "planQMax", + plan.reductionParametersAveraging "planReductionParametersAveraging", p.proposalCode "proposalCode", p.proposalNumber "proposalNumber", @@ -170,9 +170,9 @@ BEGIN plan.robotPlateTemperature "planRobotPlateTemperature", plan.exposureTemperature "planExposureTemperature", plan.transmission "planTransmission", - plan.qMin "qMin", - plan.qMax "qMax", - plan.reductionParametersAveraging "reductionParametersAveraging", + plan.qMin "planQMin", + plan.qMax "planQMax", + plan.reductionParametersAveraging "planReductionParametersAveraging", p.proposalCode "proposalCode", p.proposalNumber "proposalNumber", @@ -228,9 +228,9 @@ BEGIN plan.robotPlateTemperature "planRobotPlateTemperature", plan.exposureTemperature "planExposureTemperature", plan.transmission "planTransmission", - plan.qMin "qMin", - plan.qMax "qMax", - plan.reductionParametersAveraging "reductionParametersAveraging", + plan.qMin "planQMin", + plan.qMax "planQMax", + plan.reductionParametersAveraging "planReductionParametersAveraging", p.proposalCode "proposalCode", p.proposalNumber "proposalNumber",