We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bed7d2 commit 951b455Copy full SHA for 951b455
src/ansys/dpf/core/workflow.py
@@ -934,10 +934,10 @@ def view(
934
935
if save_as:
936
image_path = Path(save_as)
937
- dot_path = image_path.parent / image_path.stem / ".dot"
+ dot_path = image_path.parent / f"{image_path.stem}.dot"
938
else:
939
image_path = Path.cwd() / f"{name}.png"
940
941
942
# Create graphviz file of workflow
943
self.to_graphviz(dot_path)
0 commit comments