Skip to content

Commit cb63255

Browse files
committed
Refresh lookups.sql and tables.sql following changes to Tomogram+ParticleClassification
1 parent fee2848 commit cb63255

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

schemas/ispyb/lookups.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,8 @@ INSERT INTO `SchemaStatus` (`schemaStatusId`, `scriptName`, `schemaStatus`, `rec
293293
(321,'2025_05_28_BLSession_icatId.sql','DONE','2025-06-27 16:04:05'),
294294
(322,'2025_06_02_DewarRegistry_type.sql','DONE','2025-06-27 16:04:05'),
295295
(323,'2025_06_26_ContainerType_cryoem_puck.sql','DONE','2025-06-27 16:04:05'),
296-
(324,'2025_06_27_Tomogram_pixelLocation.sql','DONE','2025-06-27 16:04:05');
296+
(324,'2025_06_27_Tomogram_pixelLocation.sql','DONE','2025-06-27 16:04:05'),
297+
(325,'2025_06_27_undo_ParticleClassification_set_Tomogram_pixelLocation.sql','DONE','2025-06-27 16:40:00');
297298
/*!40000 ALTER TABLE `SchemaStatus` ENABLE KEYS */;
298299

299300
/*!40000 ALTER TABLE `ComponentType` DISABLE KEYS */;

schemas/ispyb/tables.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2457,8 +2457,6 @@ CREATE TABLE `ParticleClassification` (
24572457
`bFactorFitQuadratic` float DEFAULT NULL COMMENT 'Quadratic coefficient of quadratic fit to refinement resolution against the logarithm of the number of particles',
24582458
`angularEfficiency` double DEFAULT NULL COMMENT 'Variation in resolution across different angles, 1-2sig/mean',
24592459
`suggestedTilt` double DEFAULT NULL COMMENT 'Suggested stage tilt angle to improve angular efficiency. Unit: degrees',
2460-
`pixelLocationX` int(11) DEFAULT NULL COMMENT 'pixel location of tomogram centre on search map image (x)',
2461-
`pixelLocationY` int(11) DEFAULT NULL COMMENT 'pixel location of tomogram centre on search map image (y)',
24622460
PRIMARY KEY (`particleClassificationId`),
24632461
KEY `ParticleClassification_fk_particleClassificationGroupId` (`particleClassificationGroupId`),
24642462
CONSTRAINT `ParticleClassification_fk_particleClassificationGroupId` FOREIGN KEY (`particleClassificationGroupId`) REFERENCES `ParticleClassificationGroup` (`particleClassificationGroupId`) ON DELETE CASCADE ON UPDATE CASCADE
@@ -3635,6 +3633,8 @@ CREATE TABLE `Tomogram` (
36353633
`recordTimeStamp` datetime DEFAULT current_timestamp() COMMENT 'Creation or last update date/time',
36363634
`globalAlignmentQuality` float DEFAULT NULL COMMENT 'Quality of fit metric for the alignment of the tilt series corresponding to this tomogram',
36373635
`gridSquareId` int(11) unsigned DEFAULT NULL COMMENT 'FK, references medium mag map in GridSquare',
3636+
`pixelLocationX` int(11) DEFAULT NULL COMMENT 'pixel location of tomogram centre on search map image (x)',
3637+
`pixelLocationY` int(11) DEFAULT NULL COMMENT 'pixel location of tomogram centre on search map image (y)',
36383638
PRIMARY KEY (`tomogramId`),
36393639
KEY `Tomogram_fk_dataCollectionId` (`dataCollectionId`),
36403640
KEY `Tomogram_fk_autoProcProgramId` (`autoProcProgramId`),

0 commit comments

Comments
 (0)