Skip to content

Parse FIB AutoTEM metadata#786

Merged
tieneupin merged 23 commits intomainfrom
parse-fib-autotem-metadata
Apr 30, 2026
Merged

Parse FIB AutoTEM metadata#786
tieneupin merged 23 commits intomainfrom
parse-fib-autotem-metadata

Conversation

@tieneupin
Copy link
Copy Markdown
Contributor

@tieneupin tieneupin commented Apr 16, 2026

This PR adds additional logic to the FIBContext class to parse the AutoTEM metadata file ProjectData.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 +490/-50 lines, with the rest of the diff being due to the addition of tests.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 16, 2026

Codecov Report

❌ Patch coverage is 88.26816% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 51.12%. Comparing base (3d23916) to head (ed6e9d2).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #786      +/-   ##
==========================================
+ Coverage   50.72%   51.12%   +0.40%     
==========================================
  Files          96       96              
  Lines       10059    11443    +1384     
  Branches     1322     1736     +414     
==========================================
+ Hits         5102     5850     +748     
- Misses       4690     5277     +587     
- Partials      267      316      +49     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tieneupin tieneupin requested a review from d-j-hatton April 17, 2026 11:44
@tieneupin tieneupin self-assigned this Apr 17, 2026
@tieneupin tieneupin added enhancement New feature or request server Relates to the server component client Relates to the client component fib Part of the FIB pipeline extension labels Apr 17, 2026
@tieneupin tieneupin marked this pull request as ready for review April 17, 2026 11:52
@tieneupin tieneupin merged commit 546dbac into main Apr 30, 2026
17 checks passed
@tieneupin tieneupin deleted the parse-fib-autotem-metadata branch April 30, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client Relates to the client component enhancement New feature or request fib Part of the FIB pipeline extension server Relates to the server component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants