Skip to content
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

fix: fix new width in broad singlet peak #117

Merged
merged 2 commits into from
Mar 6, 2024
Merged

Conversation

jobo322
Copy link
Member

@jobo322 jobo322 commented Mar 5, 2024

No description provided.

Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.33%. Comparing base (883b2fc) to head (b95aafe).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #117      +/-   ##
==========================================
+ Coverage   94.13%   94.33%   +0.19%     
==========================================
  Files          10       10              
  Lines         307      300       -7     
  Branches      114      114              
==========================================
- Hits          289      283       -6     
+ Misses         18       17       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


if (equallySpaced) {
if (smoothY) {
yData = sgg(y, x[1] - x[0], {
windowSize,
polynomial,
...sgOptions,
Copy link
Member

@lpatiny lpatiny Mar 5, 2024

Choose a reason for hiding this comment

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

Do we send other parameters that just windowSize and polynomial ?

If sgg does not change the options (like adding a new parameter) and this would be a bug in sgg I think, you don't need to create a new object with destructuring sgOptions. You can directly send sgOptions.

@jobo322 jobo322 merged commit 79eb832 into main Mar 6, 2024
9 checks passed
@jobo322 jobo322 deleted the fix-width-in-joinBroadPeaks branch March 6, 2024 03:53
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