Skip to content

Commit a11cd92

Browse files
authored
Merge pull request #182 from lymichelle21/fix-tests
Fix test failures
2 parents f7a7bf3 + 5885ce5 commit a11cd92

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

pyproject.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,14 @@ classifiers = [
5757

5858
[project.optional-dependencies]
5959
datadriven = [
60-
"tensorflow; platform_system!='Darwin' or platform_machine!='arm64'",
61-
"tensorflow-macos; platform_system=='Darwin' and platform_machine=='arm64'"]
60+
"tensorflow"
61+
]
62+
63+
test = [
64+
"notebook",
65+
"testbook",
66+
"requests"
67+
]
6268

6369
docs = [
6470
"sphinx",

src/progpy/data_models/lstm_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ def from_data(cls, inputs, outputs, event_states=None, t_met=None, **kwargs):
585585
output_data.append(t_all)
586586

587587
model = keras.Model(inputs, outputs)
588-
model.compile(optimizer="rmsprop", loss="mse", metrics=[["mae"]]*len(outputs))
588+
model.compile(optimizer="rmsprop", loss="mse", metrics=["mae"]*len(outputs))
589589

590590
# Train model
591591
history = model.fit(

test_requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

tutorial.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1654,7 +1654,7 @@
16541654
"metadata": {},
16551655
"outputs": [],
16561656
"source": [
1657-
"from prog_algs.uncertain_data import ScalarData"
1657+
"from progpy.uncertain_data import ScalarData"
16581658
]
16591659
},
16601660
{

0 commit comments

Comments
 (0)