Skip to content

Search for a txrm reference is no internal one is present#826

Merged
stephen-riggs merged 7 commits into
mainfrom
sxt-reference-options
Jun 16, 2026
Merged

Search for a txrm reference is no internal one is present#826
stephen-riggs merged 7 commits into
mainfrom
sxt-reference-options

Conversation

@stephen-riggs

@stephen-riggs stephen-riggs commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

If a txrm does not have an internal reference, instead of dismissing it search for a reference file in xrm format. Takes the most recent xrm which is not a mosaic image.

Still skips processing for txrms with less than 20 frames as these will be reference stacks.

Also changes the tilt series tags to remove angle naming, and skips transfer of "New folder"

Pairs with DiamondLightSource/cryoem-services#271

@stephen-riggs stephen-riggs requested a review from tieneupin June 16, 2026 10:03
Comment thread src/murfey/client/contexts/sxt.py Fixed
@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 71.87500% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.42%. Comparing base (95769c0) to head (c9713ef).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #826      +/-   ##
==========================================
+ Coverage   52.90%   53.42%   +0.51%     
==========================================
  Files          99       99              
  Lines       10760    10939     +179     
  Branches     1415     1454      +39     
==========================================
+ Hits         5693     5844     +151     
- Misses       4769     4787      +18     
- Partials      298      308      +10     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/murfey/client/watchdir_multigrid.py

@tieneupin tieneupin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some ongoing discussion how to handle "New folder", but looks good otherwise!

@tieneupin

Copy link
Copy Markdown
Contributor

Nice. Thanks for addressing my comment. Feel free to merge when you're ready.

@stephen-riggs stephen-riggs merged commit 6d93c78 into main Jun 16, 2026
17 checks passed
@stephen-riggs stephen-riggs deleted the sxt-reference-options branch June 16, 2026 14:50
stephen-riggs added a commit to DiamondLightSource/cryoem-services that referenced this pull request Jun 16, 2026
Allow an xrm file to be provided as an external reference for txrm processing.

Also converts from using Optional to |

Pairs with DiamondLightSource/python-murfey#826
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants