Skip to content

Commit 9b0b880

Browse files
committed
fixup! Improve backwards compatibility for H5.load with deprecation warning
1 parent f73fc8a commit 9b0b880

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cadet/h5.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ def load(
116116
If True, uses a file lock while loading.
117117
"""
118118
warnings.warn(
119-
"Deprecation warning: Support for setting cadet.cadet_path will be removed "
120-
" in a future version. Use `install_path` instead.",
119+
"Deprecation warning: Support for `load` will be removed in a future "
120+
"version. Use `load_from_file` instead.",
121121
FutureWarning
122122
)
123123
self.load_from_file(paths=paths, update=update, lock=lock)

0 commit comments

Comments
 (0)