Request processing of lamella evaluation images - #846
Merged
Conversation
…s functions that need them
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #846 +/- ##
==========================================
+ Coverage 54.44% 54.55% +0.11%
==========================================
Files 103 104 +1
Lines 11049 11078 +29
Branches 1467 1470 +3
==========================================
+ Hits 6016 6044 +28
- Misses 4713 4714 +1
Partials 320 320 🚀 New features to boost your workflow:
|
d-j-hatton
pushed a commit
that referenced
this pull request
Aug 6, 2026
* Created API endpoint to trigger the FIB lamella evaluation images workflow * Added placeholder workflow to register lamella evaluation images with * Added logic to FIBContext to detect and register lamella evaluation images * Moved the '_get_source' and '_file_transferred_to' logic into the class functions that need them * Updated tests
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.
Lamella evaluation images are high-resolution images of the sites during the last stages of the milling process. These images should be the ones displayed on the PATo frontend when users click on regions of interest on the atlas, in a similar vein to the CLEM workflow.
This PR adds logic to the
FIBContextto submit a POST request to the backend when it detects a lamella evaluation image. An API endpoint and a workflow module have also been set up on the backend to eventually process the received message. The processing logic will be refined in subsequent PRs, and currently just exists as a placeholder.Actual code diff is +117/-21, with the rest of the changes being due to the addition and modification of tests.