From 3e74494c2142ac729112c936815b5b69d42d2105 Mon Sep 17 00:00:00 2001 From: Renan Souza Date: Wed, 18 Dec 2024 13:59:30 -0500 Subject: [PATCH] Removing prints from example --- .github/workflows/run_examples.sh | 2 +- examples/single_layer_perceptron_example.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run_examples.sh b/.github/workflows/run_examples.sh index dcfc3571..95d94523 100644 --- a/.github/workflows/run_examples.sh +++ b/.github/workflows/run_examples.sh @@ -63,7 +63,7 @@ run_test() { echo "Ok, ran $test_path." # Check for errors in the output if grep -iq "error" output.log; then - echo "Test failed! See output.log for details." + echo "Test $test_path failed! See output.log for details." exit 1 fi diff --git a/examples/single_layer_perceptron_example.py b/examples/single_layer_perceptron_example.py index c9e859cc..a686b1f9 100644 --- a/examples/single_layer_perceptron_example.py +++ b/examples/single_layer_perceptron_example.py @@ -105,11 +105,10 @@ def main(n_samples, split_ratio, n_input_neurons, epochs, seed): elif wf["name"] == "SingleLayerPerceptron": module_forward_wf = wf - print(train_wf) + # print(train_wf) train_wf_task = Flowcept.db.query({"workflow_id": train_wf["workflow_id"]}) print(train_wf_task) - print("\n") - print(module_forward_wf) + # print(module_forward_wf) module_tasks = Flowcept.db.query({"workflow_id": module_forward_wf["workflow_id"]}) module_tasks_df = pd.DataFrame(module_tasks)