Skip to content

Commit cdf2919

Browse files
authored
Merge pull request #305 from fooof-tools/depwarn
[MNT] - Update deprecation warning
2 parents 4e673f2 + efc993d commit cdf2919

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

fooof/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
# Deprecation of fooof / move to specparam message
66
# Note: this warning is for fooof v1.1 specifically, and should be removed in specparam 2.0
7-
from warnings import warn, simplefilter
8-
simplefilter('always') # make sure user sees it once, on every import
7+
from warnings import warn
98
DEPRECATION_TEXT = ("\nThe `fooof` package is being deprecated and replaced by the "
109
"`specparam` (spectral parameterization) package."
1110
"\nThis version of `fooof` (1.1) is fully functional, but will not be further updated."

fooof/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.1.0rc2'
1+
__version__ = '1.1.0rc3'

0 commit comments

Comments
 (0)