Skip to content

Conversation

@dschick
Copy link
Owner

@dschick dschick commented Jul 4, 2025

it is often handy to have the initial motor positions in a scan, init_mopo, also available for calculations in the evaluation within the clist.

This PR adds a routine to automatically add the init_mopo to the scan's data numpy.recarray as scalars for every scan.

@codecov
Copy link

codecov bot commented Jul 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.80%. Comparing base (f859310) to head (cca0b86).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #60      +/-   ##
===========================================
+ Coverage    52.24%   52.80%   +0.55%     
===========================================
  Files           10       10              
  Lines         1068     1089      +21     
===========================================
+ Hits           558      575      +17     
- Misses         510      514       +4     
Files with missing lines Coverage Δ
pyEvalData/evaluation.py 35.22% <100.00%> (ø)
pyEvalData/io/palxfel.py 75.38% <100.00%> (-4.62%) ⬇️
pyEvalData/io/source.py 72.40% <100.00%> (+2.43%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants