We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4828b6 commit 75cc238Copy full SHA for 75cc238
1 file changed
soundscapy/analysis.py
@@ -157,7 +157,7 @@ def loudness_from_wav(
157
# Input sanity!
158
methodlist = ["time_varying", "stationary"]
159
if method not in methodlist:
160
- if method in ["stationary_levels", "Stationary_Levels"]:
+ if method in {"stationary_levels", "Stationary_Levels"}:
161
raise ValueError(
162
"Calculating loudness from pre-calculated levels has its own method! (or it soon will...)"
163
)
0 commit comments