Skip to content

add deprecation warning to resample function #207

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

Closed
wants to merge 3 commits into from

Conversation

alisnwu
Copy link

@alisnwu alisnwu commented Dec 7, 2024

closes #139

as per discussion in #180 warnings.warn passes pytest under python 3.13, 3.12, 3.11

@sbillinge @bobleesj ready for review

Screenshot 2024-12-07 at 5 16 14 PM

Copy link

codecov bot commented Dec 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.54%. Comparing base (298e630) to head (b57dff2).
Report is 40 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #207      +/-   ##
==========================================
+ Coverage   93.97%   96.54%   +2.56%     
==========================================
  Files           8        8              
  Lines         299      347      +48     
==========================================
+ Hits          281      335      +54     
+ Misses         18       12       -6     

see 2 files with indirect coverage changes

Copy link
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

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

please see inline

@@ -0,0 +1,23 @@
**Added:**

* Deprecation warning for resample function in resampler
Copy link
Contributor

Choose a reason for hiding this comment

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

we are not adding functionality so move this from here to Deprecated

@alisnwu
Copy link
Author

alisnwu commented Dec 8, 2024

@sbillinge fixed news item, ready for review

Copy link
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

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

pls see inline.


**Changed:**

* <news item>

**Deprecated:**

* <news item>
* Deprecation warning for resample function in resampler
Copy link
Contributor

Choose a reason for hiding this comment

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

how about "resample function in resampler. Repaced with wsinterp" or sthg like that?

This news is user-facing so it should be targeted at someone who might be using the code.

@sbillinge
Copy link
Contributor

@alisnwu why are you closing this?

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.

deprecate legacy resampler?
2 participants