ispyb / ispyb-database-modeling

4 stars 3 forks source link

Add offsets to BLSampleImage #58

Open stufisher opened 4 years ago

stufisher commented 4 years ago

I would like to add offsetx, y to BLSampleImage to allow constructing more complex images of samples. Using an offset will allow more than a single image to be stitched together.

ALTER TABLE `BLSampleImage`
    ADD `offsetx` INT NOT NULL DEFAULT '0' COMMENT 'The x offset of the image relative to the canvas',
    ADD `offsety` INT NOT NULL DEFAULT '0' COMMENT 'The y offset of the image relative to the canvas';