Skip to content

Parse FIB AutoTEM metadata#786

Open
tieneupin wants to merge 16 commits intomainfrom
parse-fib-autotem-metadata
Open

Parse FIB AutoTEM metadata#786
tieneupin wants to merge 16 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 +530/-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 52.80899% with 84 lines in your changes missing coverage. Please review.
✅ Project coverage is 50.84%. Comparing base (3d23916) to head (5059f4e).

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:
  • ❄️ 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
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.

1 participant