Skip to content

Improve 1D Raman tests and extract more information from file headers #1216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 23, 2025

Conversation

ml-evs
Copy link
Member

@ml-evs ml-evs commented May 23, 2025

This PR updates the Raman tests to check for peak positions, localises and capture warnings when doing baseline corrections for XRD/Raman and more robustly parses units out of Raman data files.

@ml-evs ml-evs added the datablock An issue pertaining to a specific datablock label May 23, 2025
Copy link

codecov bot commented May 23, 2025

Codecov Report

❌ Patch coverage is 87.27273% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.02%. Comparing base (158022a) to head (1ce621c).
⚠️ Report is 79 commits behind head on main.

Files with missing lines Patch % Lines
pydatalab/src/pydatalab/apps/raman/blocks.py 81.57% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1216      +/-   ##
==========================================
+ Coverage   70.91%   71.02%   +0.10%     
==========================================
  Files          66       66              
  Lines        4429     4466      +37     
==========================================
+ Hits         3141     3172      +31     
- Misses       1288     1294       +6     
Files with missing lines Coverage Δ
pydatalab/src/pydatalab/apps/xrd/blocks.py 70.27% <100.00%> (+3.27%) ⬆️
pydatalab/src/pydatalab/apps/raman/blocks.py 78.46% <81.57%> (-0.39%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ml-evs ml-evs merged commit e46e1ba into main May 23, 2025
17 checks passed
@ml-evs ml-evs deleted the ml-evs/raman-tests branch May 23, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datablock An issue pertaining to a specific datablock
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant