Read and insert tomography atlas and search map locations#616
Merged
stephen-riggs merged 33 commits intomainfrom Jul 10, 2025
Merged
Read and insert tomography atlas and search map locations#616stephen-riggs merged 33 commits intomainfrom
stephen-riggs merged 33 commits intomainfrom
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #616 +/- ##
==========================================
+ Coverage 31.86% 32.38% +0.52%
==========================================
Files 90 92 +2
Lines 10762 11095 +333
Branches 1422 1460 +38
==========================================
+ Hits 3429 3593 +164
- Misses 7215 7377 +162
- Partials 118 125 +7 🚀 New features to boost your workflow:
|
tieneupin
reviewed
Jul 7, 2025
Contributor
|
With the latest changes, the test workflow now runs on the incompatible tomo dataset, with the missing values replaced with inaccurate arbitrary ones. This should be safe to merge. |
stephen-riggs
added a commit
to DiamondLightSource/cryoem-services
that referenced
this pull request
Jul 17, 2025
Connects to DiamondLightSource/python-murfey#616 The location and ID of the search map for a tomogram will be send in the alignment message, and this inserts those into ispyb with the tomogram.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Registers the locations of SearchMaps and BatchPositions for tomography data collection.
This requires reading the SearchMap.dm and .xml files, and the BatchPositionsList.xml, plus finding the atlas in the Session.dm
The logic for converting from stage coordinates to pixel positions is non-trivial and does not work perfectly.
For the Krios microscopes with FALCON and K3_FLIPX cameras it appears to give reasonably accurate values (with some ambiguity over whether "zero" is top-left or bottom-left which may need fixing), but for the Talos with K3_FLIPY it does not currently work.
The Murfey database has a new table for SearchMaps and the TiltSeries table now has positions. For ispyb the SearchMaps are inserted as GridSquares. TiltSeries location inserts will be done as part of the em-tomo-align recipe.