Skip to content

Commit 6eaafe4

Browse files
committed
Preparations for release 4.11.0
1 parent d72be1a commit 6eaafe4

File tree

5 files changed

+69
-44
lines changed

5 files changed

+69
-44
lines changed

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ This procedure requires write permission to the repository and a valid `.github-
66
2. Run `./build.sh`: This will create a clean development database using the schema files in `schemas/ispyb/` and then import any `updates/` files not yet imported.
77
3. Manually import any stored programs committed since the previous release.
88
4. Create a backup: `cd bin && ./backup.sh /tmp/`.
9-
5. Copy `/tmp/lookups.sh` to `schemas/ispyb/`. If other changes have been made since the previous release, then you might need to copy other files to the same folder: If any changes to the tables or views, then also copy `/tmp/tables.sql`. If any changes to the stored programs, then also copy `/tmp/routines.sql`. If any changes to the test data, then also copy `/tmp/data.sql`.
9+
5. Copy `/tmp/lookups.sql` to `schemas/ispyb/`. If other changes have been made since the previous release, then you might need to copy other files to the same folder: If any changes to the tables or views, then also copy `/tmp/tables.sql`. If any changes to the stored programs, then also copy `/tmp/routines.sql`. If any changes to the test data, then also copy `/tmp/data.sql`.
1010
6. Commit and push your changes to master.
1111
7. Finally, run the `release.sh` script to create a tag and create a Github release against that tag. The new release should then become available on the project's Github page.

schemas/ispyb/data.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -950,11 +950,11 @@ INSERT INTO `Shipping` (`shippingId`, `proposalId`, `shippingName`, `deliveryAge
950950
/*!40000 ALTER TABLE `Shipping` ENABLE KEYS */;
951951

952952
/*!40000 ALTER TABLE `ShippingHasSession` DISABLE KEYS */;
953-
INSERT INTO `ShippingHasSession` (`shippingId`, `sessionId`) VALUES (6988,55167),
954-
(7227,55168),
955-
(474,339525),
953+
INSERT INTO `ShippingHasSession` (`shippingId`, `sessionId`) VALUES (474,339525),
956954
(477,339528),
957-
(480,339531);
955+
(480,339531),
956+
(6988,55167),
957+
(7227,55168);
958958
/*!40000 ALTER TABLE `ShippingHasSession` ENABLE KEYS */;
959959

960960
/*!40000 ALTER TABLE `Sleeve` DISABLE KEYS */;

schemas/ispyb/lookups.sql

Lines changed: 42 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
1212

1313
/*!40000 ALTER TABLE `AdminVar` DISABLE KEYS */;
14-
INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','4.10.0');
14+
INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','4.11.0');
1515
/*!40000 ALTER TABLE `AdminVar` ENABLE KEYS */;
1616

1717
/*!40000 ALTER TABLE `SchemaStatus` DISABLE KEYS */;
@@ -303,7 +303,10 @@ INSERT INTO `SchemaStatus` (`schemaStatusId`, `scriptName`, `schemaStatus`, `rec
303303
(331,'2025_11_03_LaserParameters_tables.sql','DONE','2025-11-20 15:47:48'),
304304
(332,'2025_11_05_RobotAction_new_type.sql','DONE','2025-11-20 15:47:48'),
305305
(333,'2025_11_13_ExperimentType_clem_and_fib.sql','DONE','2025-11-20 15:47:48'),
306-
(334,'2025_11_20_AdminVar_bump_version.sql','DONE','2025-11-20 15:47:48');
306+
(334,'2025_11_20_AdminVar_bump_version.sql','DONE','2025-11-20 15:47:48'),
307+
(335,'2026_01_05_GridSquare_Atlas_channels.sql ','DONE','2026-01-13 15:16:00'),
308+
(336,'2026_01_12_CTF_iceRingDensity.sql','DONE','2026-01-13 15:16:00'),
309+
(337,'2026_01_13_AdminVar_bump_version.sql','DONE','2026-01-13 15:16:00');
307310
/*!40000 ALTER TABLE `SchemaStatus` ENABLE KEYS */;
308311

309312
/*!40000 ALTER TABLE `ComponentType` DISABLE KEYS */;
@@ -855,63 +858,63 @@ INSERT INTO `Permission` (`permissionId`, `type`, `description`) VALUES (1,'mx_a
855858

856859
/*!40000 ALTER TABLE `UserGroup_has_Permission` DISABLE KEYS */;
857860
INSERT INTO `UserGroup_has_Permission` (`userGroupId`, `permissionId`) VALUES (1,1),
861+
(1,7),
862+
(1,8),
863+
(1,9),
864+
(1,10),
865+
(1,11),
866+
(1,18),
867+
(1,20),
868+
(1,23),
869+
(1,49),
858870
(2,1),
871+
(2,6),
872+
(2,23),
873+
(2,80),
874+
(3,7),
875+
(3,23),
876+
(4,20),
877+
(5,10),
878+
(6,8),
879+
(6,23),
859880
(8,1),
860-
(9,1),
861-
(14,1),
862-
(24,1),
863881
(8,2),
864882
(8,4),
865-
(2,6),
866883
(8,6),
867-
(9,6),
868-
(1,7),
869-
(3,7),
870884
(8,7),
871-
(1,8),
872-
(6,8),
873885
(8,8),
874-
(1,9),
875886
(8,9),
876-
(1,10),
877-
(5,10),
878887
(8,10),
879-
(1,11),
880888
(8,11),
881-
(10,12),
882-
(11,13),
883-
(11,15),
884-
(11,16),
885-
(11,17),
886-
(1,18),
887889
(8,18),
888-
(12,18),
889-
(1,20),
890-
(4,20),
891890
(8,20),
892-
(1,23),
893-
(2,23),
894-
(3,23),
895-
(6,23),
896891
(8,23),
897-
(28,23),
898892
(8,26),
899-
(17,26),
900893
(8,29),
901-
(20,29),
902-
(11,32),
903894
(8,37),
904-
(28,37),
905-
(11,43),
906-
(1,49),
907895
(8,49),
908-
(34,49),
896+
(9,1),
897+
(9,6),
898+
(10,12),
899+
(10,77),
900+
(11,13),
901+
(11,15),
902+
(11,16),
903+
(11,17),
904+
(11,32),
905+
(11,43),
909906
(11,55),
910907
(11,58),
911908
(11,64),
912-
(39,69),
913-
(10,77),
914-
(2,80);
909+
(12,18),
910+
(14,1),
911+
(17,26),
912+
(20,29),
913+
(24,1),
914+
(28,23),
915+
(28,37),
916+
(34,49),
917+
(39,69);
915918
/*!40000 ALTER TABLE `UserGroup_has_Permission` ENABLE KEYS */;
916919

917920
/*!40000 ALTER TABLE `ScanParametersService` DISABLE KEYS */;

schemas/ispyb/tables.sql

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ CREATE TABLE `Atlas` (
5454
`atlasImage` varchar(255) NOT NULL COMMENT 'path to atlas image',
5555
`pixelSize` float NOT NULL COMMENT 'pixel size of atlas image',
5656
`cassetteSlot` int(10) unsigned DEFAULT NULL,
57+
`hasRed` tinyint(1) DEFAULT 0 COMMENT 'Whether atlas has red channel',
58+
`hasBlue` tinyint(1) DEFAULT 0 COMMENT 'Whether atlas has blue channel',
59+
`hasGreen` tinyint(1) DEFAULT 0 COMMENT 'Whether atlas has green channel',
60+
`hasYellow` tinyint(1) DEFAULT 0 COMMENT 'Whether atlas has yellow channel',
61+
`hasCyan` tinyint(1) DEFAULT 0 COMMENT 'Whether atlas has cyan channel',
62+
`hasMagenta` tinyint(1) DEFAULT 0 COMMENT 'Whether atlas has magenta channel',
63+
`hasGrey` tinyint(1) DEFAULT 0 COMMENT 'Whether atlas has grey channel',
64+
`mode` enum('Bright Field and Fluorescent','Bright Field','Fluorescent','Tomography','Single Particle') DEFAULT NULL COMMENT 'Collection mode',
5765
PRIMARY KEY (`atlasId`),
5866
KEY `Atlas_fk_dataCollectionGroupId` (`dataCollectionGroupId`),
5967
CONSTRAINT `Atlas_fk_dataCollectionGroupId` FOREIGN KEY (`dataCollectionGroupId`) REFERENCES `DataCollectionGroup` (`dataCollectionGroupId`) ON UPDATE CASCADE
@@ -950,6 +958,7 @@ CREATE TABLE `CTF` (
950958
`ccValue` float DEFAULT NULL COMMENT 'Correlation value',
951959
`fftTheoreticalFullPath` varchar(255) DEFAULT NULL COMMENT 'Full path to the jpg image of the simulated FFT',
952960
`comments` varchar(255) DEFAULT NULL,
961+
`iceRingDensity` float DEFAULT NULL COMMENT 'Summed intensity of ice ring in fourier space',
953962
PRIMARY KEY (`ctfId`),
954963
KEY `CTF_ibfk1` (`motionCorrectionId`),
955964
KEY `CTF_ibfk2` (`autoProcProgramId`),
@@ -2040,6 +2049,14 @@ CREATE TABLE `GridSquare` (
20402049
`stageLocationY` float DEFAULT NULL COMMENT 'y stage position (microns)',
20412050
`qualityIndicator` float DEFAULT NULL COMMENT 'metric for determining quality of grid square',
20422051
`pixelSize` float DEFAULT NULL COMMENT 'pixel size of grid square image',
2052+
`hasRed` tinyint(1) DEFAULT 0 COMMENT 'Whether region has red channel',
2053+
`hasBlue` tinyint(1) DEFAULT 0 COMMENT 'Whether region has blue channel',
2054+
`hasGreen` tinyint(1) DEFAULT 0 COMMENT 'Whether region has green channel',
2055+
`hasYellow` tinyint(1) DEFAULT 0 COMMENT 'Whether region has yellow channel',
2056+
`hasCyan` tinyint(1) DEFAULT 0 COMMENT 'Whether region has cyan channel',
2057+
`hasMagenta` tinyint(1) DEFAULT 0 COMMENT 'Whether region has magenta channel',
2058+
`hasGrey` tinyint(1) DEFAULT 0 COMMENT 'Whether region has grey channel',
2059+
`mode` enum('Bright Field and Fluorescent','Bright Field','Fluorescent','Tomography','Single Particle') DEFAULT NULL COMMENT 'Collection mode',
20432060
PRIMARY KEY (`gridSquareId`),
20442061
KEY `GridSquare_fk_atlasId` (`atlasId`),
20452062
CONSTRAINT `GridSquare_fk_atlasId` FOREIGN KEY (`atlasId`) REFERENCES `Atlas` (`atlasId`) ON UPDATE CASCADE
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2026_01_13_AdminVar_bump_version.sql', 'ONGOING');
2+
3+
UPDATE AdminVar SET `value` = '4.11.0' WHERE `name` = 'schemaVersion';
4+
5+
UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2026_01_13_AdminVar_bump_version.sql';

0 commit comments

Comments
 (0)