Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jlwalke2 committed Sep 9, 2021
1 parent 28a1b70 commit edeff5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/sasctl/utils/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def __init__(self, model):
self.properties = []
self.sample_input = None
self.sample_output = None
self.tool = None

# Most models take DataFrame or array as input instead of individual variables.
self.array_input = True
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_pymas.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ def predict_proba(a, b):
def test_from_model_info():
from sasctl.utils.models import ModelInfo
from sasctl.utils.pymas import from_model_info

from sasctl.utils.pymas.core import PyMAS2
# Dummy model info
info = ModelInfo(None)

Expand All @@ -737,5 +737,5 @@ def test_from_model_info():

result = from_model_info(info)

assert isinstance(result, PyMAS)
assert isinstance(result, PyMAS2)

0 comments on commit edeff5c

Please sign in to comment.