Skip to content

Commit d9a8b6a

Browse files
Backport PR scverse#3924 on branch 1.12.x (fix: removed unecessary warning when a file name comprises multiple dots) (scverse#3972)
Co-authored-by: nicolasrochette <nic.rochette@gmail.com>
1 parent 58d8503 commit d9a8b6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scanpy/readwrite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ def is_valid_filename(
11571157
raise ValueError(msg)
11581158
return ext if return_ext else True
11591159
if len(ext_from_file) > 2:
1160-
logg.warning(
1160+
logg.debug(
11611161
f"Your filename has more than two extensions: {ext_from_file}.\n"
11621162
f"Only considering the two last: {ext_from_file[-2:]}."
11631163
)

0 commit comments

Comments
 (0)