Skip to content

Commit

Permalink
chore: prep for release
Browse files Browse the repository at this point in the history
  • Loading branch information
jlwalke2 committed Aug 26, 2024
1 parent 0e9c278 commit 9e0f49c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
Unreleased
v1.10.6 (2024-08-26)
----------
**Improvements**
- Refactor `tasks.py` to utilize `sasctl.pzmm` functions.
- Add `model_info` class to better capture model information.
- Test `/examples` Jupyter notebooks within normal test suite.
- Add option for data preprocessing in generated score code.

v1.10.5 (2024-08-01)
----------
Expand Down
2 changes: 1 addition & 1 deletion src/sasctl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Copyright © 2019, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0

__version__ = "1.10.5"
__version__ = "1.10.6"
__author__ = "SAS"
__credits__ = [
"Yi Jian Ching",
Expand Down
8 changes: 3 additions & 5 deletions src/sasctl/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@ def register_model(
# Update an existing model with new files
if mr.get_model(name) is None:
raise ValueError(
"Unable to update version '%s' of model '%s. "
"Model not found." % (version, name)
f"Unable to update version '{version}' of model '{name}'. "
"Model not found."
)
model_obj = mr.create_model_version(name)
mr.delete_model_contents(model_obj)
Expand Down Expand Up @@ -693,9 +693,7 @@ def update_model_performance(data, model, label, refresh=True):
.. versionadded:: v1.3
"""
try:
import swat
except ImportError:
if swat is None:
raise RuntimeError(
"The 'swat' package is required to save model " "performance data."
)
Expand Down

0 comments on commit 9e0f49c

Please sign in to comment.