Skip to content

Commit 9e0f49c

Browse files
committed
chore: prep for release
1 parent 0e9c278 commit 9e0f49c

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
Unreleased
1+
v1.10.6 (2024-08-26)
22
----------
33
**Improvements**
44
- Refactor `tasks.py` to utilize `sasctl.pzmm` functions.
55
- Add `model_info` class to better capture model information.
6-
- Test `/examples` Jupyter notebooks within normal test suite.
7-
- Add option for data preprocessing in generated score code.
86

97
v1.10.5 (2024-08-01)
108
----------

src/sasctl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Copyright © 2019, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
55
# SPDX-License-Identifier: Apache-2.0
66

7-
__version__ = "1.10.5"
7+
__version__ = "1.10.6"
88
__author__ = "SAS"
99
__credits__ = [
1010
"Yi Jian Ching",

src/sasctl/tasks.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,8 @@ def register_model(
502502
# Update an existing model with new files
503503
if mr.get_model(name) is None:
504504
raise ValueError(
505-
"Unable to update version '%s' of model '%s. "
506-
"Model not found." % (version, name)
505+
f"Unable to update version '{version}' of model '{name}'. "
506+
"Model not found."
507507
)
508508
model_obj = mr.create_model_version(name)
509509
mr.delete_model_contents(model_obj)
@@ -693,9 +693,7 @@ def update_model_performance(data, model, label, refresh=True):
693693
.. versionadded:: v1.3
694694
695695
"""
696-
try:
697-
import swat
698-
except ImportError:
696+
if swat is None:
699697
raise RuntimeError(
700698
"The 'swat' package is required to save model " "performance data."
701699
)

0 commit comments

Comments
 (0)