Open
Conversation
…s' to 'MillingImage'
…parse and extract FIB AutoTEM metadata for posting
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #786 +/- ##
==========================================
+ Coverage 50.72% 50.84% +0.12%
==========================================
Files 96 96
Lines 10059 10207 +148
Branches 1322 1341 +19
==========================================
+ Hits 5102 5190 +88
- Misses 4690 4752 +62
+ Partials 267 265 -2 🚀 New features to boost your workflow:
|
…ntually be used by the backend as well
…passes through the FIBContext
…laining the contents of 'StagePositionInfo'
…SiteInfo'; store project name and site number as well
…to the 'LamellaSiteInfo' model
…gh a tuple of the model field name, XML path, and the function to apply
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.
This PR adds additional logic to the
FIBContextclass to parse the AutoTEM metadata fileProjectData.dat, along with a stub endpoint on the backend that will be developed subsequently into a function that registers the received metadata appropriately.This master file contains information on all the lamella sites that have been set up, along with the parameters for every possible milling step for each lamella site. Due to its massive size, we have implemented logic such that metadata info for a given lamella site is only submitted to the backend for consideration when a change is detected.
This metadata file will be repeatedly overwritten and updated by AutoTEM as it progresses through the various milling stages, so logic was also added to save a snapshot of the file whenever it passes through the FIBContext.
Actual changes to the code correspond to about +530/-50 lines, with the rest of the diff being due to the addition of tests.