Skip to content

Commit

Permalink
add warning link to issue
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkim0 committed Apr 3, 2024
1 parent 1a4e793 commit 9cc28ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion scvi/model/_multivi.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,8 @@ def train(
if save_best:
warnings.warn(
"`save_best` is deprecated in v1.2 and will be removed in v1.3. Please use "
"`enable_checkpointing` instead.",
"`enable_checkpointing` instead. See "
"https://github.com/scverse/scvi-tools/issues/2568 for more details.",
DeprecationWarning,
stacklevel=settings.warnings_stacklevel,
)
Expand Down
3 changes: 2 additions & 1 deletion scvi/model/_peakvi.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ def train(
if save_best:
warnings.warn(
"`save_best` is deprecated in v1.2 and will be removed in v1.3. Please use "
"`enable_checkpointing` instead.",
"`enable_checkpointing` instead. See "
"https://github.com/scverse/scvi-tools/issues/2568 for more details.",
DeprecationWarning,
stacklevel=settings.warnings_stacklevel,
)
Expand Down
3 changes: 2 additions & 1 deletion scvi/train/_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ def __init__(

warnings.warn(
"`SaveBestState` is deprecated in v1.2 and will be removed in v1.3. Please use "
"`SaveCheckpoint` instead.",
"`SaveCheckpoint` instead. See https://github.com/scverse/scvi-tools/issues/2568 "
"for more details.",
DeprecationWarning,
stacklevel=settings.warnings_stacklevel,
)
Expand Down

0 comments on commit 9cc28ea

Please sign in to comment.