Skip to content

Commit c3277fb

Browse files
authored
Merge pull request #1004 from emmanuel-ferdman/main
Fix logger warnings
2 parents 1326bf5 + 5d48e4a commit c3277fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/squidpy/gr/_niche.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,6 @@ def _check_unnecessary_args(flavor: str, param_dict: dict[str, Any], param_specs
866866
unnecessary_args.append(param_name)
867867

868868
if unnecessary_args:
869-
logg.warn(
869+
logg.warning(
870870
f"Parameters {', '.join([f'{arg}' for arg in unnecessary_args])} are not used for flavor '{flavor}'.",
871871
)

0 commit comments

Comments
 (0)