You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Description:
When using stempeg as part of musdb, I encountered the following error:
stem_durations=np.array([t.shape[0] fortinstems])
ifnot (stem_durations==stem_durations[0]).all():
>warnings.warning("Stems differ in length and were shortend")
EAttributeError: module'warnings'hasnoattribute'warning'/usr/local/lib/python3.9/site-packages/stempeg/read.py:299: AttributeError
warning() does not exist after checking the warnings package.
Suggested Solution: warnings.warning() -> warnings.warn() since warn() exists.
The text was updated successfully, but these errors were encountered:
Bug Description:
When using
stempeg
as part ofmusdb
, I encountered the following error:warning()
does not exist after checking thewarnings
package.Suggested Solution:
warnings.warning()
->warnings.warn()
sincewarn()
exists.The text was updated successfully, but these errors were encountered: