Skip to content

Conversation

@stephen-riggs
Copy link
Contributor

On the 200keV systems we see errors on start_data_collection posts for tomography due to NaN slit widths.

If the slit width is NaN we should just not insert it and allow it to default to None.

@stephen-riggs stephen-riggs self-assigned this Nov 27, 2024
@codecov
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 27.76%. Comparing base (f99070b) to head (f828f40).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #413      +/-   ##
==========================================
- Coverage   27.77%   27.76%   -0.01%     
==========================================
  Files          72       72              
  Lines        9883     9885       +2     
  Branches     1318     1319       +1     
==========================================
  Hits         2745     2745              
- Misses       7044     7046       +2     
  Partials       94       94              

Copy link
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. My understanding is that this dict is passed to the DCParameters Pydantic model for validation, hence why it becomes None, right?

@stephen-riggs stephen-riggs merged commit 604e448 into main Nov 29, 2024
17 checks passed
@stephen-riggs stephen-riggs deleted the slit-fix branch November 29, 2024 17:21
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.

4 participants