diff --git a/cwltool/cwlviewer.py b/cwltool/cwlviewer.py index e544a568e..ba3c70f28 100644 --- a/cwltool/cwlviewer.py +++ b/cwltool/cwlviewer.py @@ -100,7 +100,6 @@ def _set_input_edges(self) -> None: inputs_subgraph = pydot.Subgraph(graph_name="cluster_inputs") self._dot_graph.add_subgraph(inputs_subgraph) inputs_subgraph.set("rank", "same") - inputs_subgraph.create_attribute_methods(["style"]) inputs_subgraph.set("style", "dashed") inputs_subgraph.set("label", "Workflow Inputs") @@ -128,7 +127,6 @@ def _set_output_edges(self) -> None: outputs_graph = pydot.Subgraph(graph_name="cluster_outputs") self._dot_graph.add_subgraph(outputs_graph) outputs_graph.set("rank", "same") - outputs_graph.create_attribute_methods(["style"]) outputs_graph.set("style", "dashed") outputs_graph.set("label", "Workflow Outputs") outputs_graph.set("labelloc", "b") diff --git a/requirements.txt b/requirements.txt index df82a6f43..6d915e657 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ mypy-extensions psutil>=5.6.6 importlib_resources>=1.4;python_version<'3.9' coloredlogs -pydot>=1.4.1,<3 +pydot>=1.4.1 argcomplete>=1.12.0 pyparsing!=3.0.2 # breaks --print-dot (pydot) https://github.com/pyparsing/pyparsing/issues/319 cwl-utils>=0.32 diff --git a/setup.py b/setup.py index 748e97aae..b4b9172e9 100644 --- a/setup.py +++ b/setup.py @@ -133,7 +133,7 @@ "psutil >= 5.6.6", "importlib_resources>=1.4;python_version<'3.9'", "coloredlogs", - "pydot >= 1.4.1, <3", + "pydot >= 1.4.1", "argcomplete", "pyparsing != 3.0.2", # breaks --print-dot (pydot) https://github.com/pyparsing/pyparsing/issues/319 "cwl-utils >= 0.32",