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.
2 parents 3172c63 + b4c6024 commit db6e364Copy full SHA for db6e364
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