Skip to content

Register all grid squares from atlases#780

Open
stephen-riggs wants to merge 8 commits intomainfrom
atlas-register-all-squares
Open

Register all grid squares from atlases#780
stephen-riggs wants to merge 8 commits intomainfrom
atlas-register-all-squares

Conversation

@stephen-riggs
Copy link
Copy Markdown
Contributor

Currently we only register EPU grid squares when data collection is started. This sets up a method to register them in all atlases as during screening.

The problem comes on conversion of screening sessions to EPU sessions. Here this loops through all grid squares and changes the tag when the data collection experiment type id is changed.

@stephen-riggs stephen-riggs requested a review from d-j-hatton April 8, 2026 15:26
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

❌ Patch coverage is 43.47826% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.76%. Comparing base (3f56224) to head (64d5c19).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #780      +/-   ##
==========================================
+ Coverage   49.62%   49.76%   +0.13%     
==========================================
  Files          96       96              
  Lines       10130    10148      +18     
  Branches     1331     1338       +7     
==========================================
+ Hits         5027     5050      +23     
+ Misses       4846     4831      -15     
- Partials      257      267      +10     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@stephen-riggs stephen-riggs requested a review from tieneupin April 15, 2026 08:36
db=murfey_db,
):
if SMARTEM_ACTIVE:
if SMARTEM_ACTIVE and atlas_registration_data.acquisition_uuid is not None:
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.

When would acquisition_uuid be None in normal operation?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Most of the time! acquisition_uuid will only be set if smartem is active

Copy link
Copy Markdown
Contributor

@tieneupin tieneupin left a comment

Choose a reason for hiding this comment

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

Looks good! Just a question about when the Atlas' acquisition_uuid might end up as None.

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