From bcc43da46b44661538b9e3c938f9531bbbea7253 Mon Sep 17 00:00:00 2001 From: Henri Casanova Date: Thu, 18 Jan 2024 16:18:28 -1000 Subject: [PATCH] cosmetic tweaks --- tests/workflow_simulator_test.py | 1 - wrench/workflow.py | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/workflow_simulator_test.py b/tests/workflow_simulator_test.py index 0c11275..5ab2b97 100755 --- a/tests/workflow_simulator_test.py +++ b/tests/workflow_simulator_test.py @@ -8,7 +8,6 @@ # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. import pathlib -import sys import json import wrench diff --git a/wrench/workflow.py b/wrench/workflow.py index 16dc948..9d142c1 100755 --- a/wrench/workflow.py +++ b/wrench/workflow.py @@ -76,8 +76,8 @@ def get_input_files(self) -> List[str]: return self.simulation._workflow_get_input_files() def create_workflow_from_json(self, json_object: json, reference_flop_rate: str, ignore_machine_specs: bool, - redundant_dependencies: bool, ignore_cycle_creating_dependencies: bool, min_cores_per_task: float, - max_cores_per_task: float, enforce_num_cores: bool, ignore_avg_cpu: bool, show_warnings: bool) -> str: + redundant_dependencies: bool, ignore_cycle_creating_dependencies: bool, min_cores_per_task: float, + max_cores_per_task: float, enforce_num_cores: bool, ignore_avg_cpu: bool, show_warnings: bool) -> str: """ Create a workflow from a WfCommons JSON :param json_object: A JSON object created from a WfCommons JSON file @@ -105,9 +105,9 @@ def create_workflow_from_json(self, json_object: json, reference_flop_rate: str, :rtype: str """ return self.simulation._create_workflow_from_json(json_object, reference_flop_rate, ignore_machine_specs, - redundant_dependencies, ignore_cycle_creating_dependencies, - min_cores_per_task, max_cores_per_task, enforce_num_cores, - ignore_avg_cpu, show_warnings) + redundant_dependencies, ignore_cycle_creating_dependencies, + min_cores_per_task, max_cores_per_task, enforce_num_cores, + ignore_avg_cpu, show_warnings) def __str__(self) -> str: """