Skip to content

Commit bd582b4

Browse files
committed
Revert "Fix workflow.view()"
This reverts commit e47b02b.
1 parent f16f050 commit bd582b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ansys/dpf/core/workflow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -934,10 +934,10 @@ def view(
934934

935935
if save_as:
936936
image_path = Path(save_as)
937-
dot_path = image_path.parent / f"{image_path.stem}.dot"
937+
dot_path = image_path.parent / image_path.stem / ".dot"
938938
else:
939939
image_path = Path.cwd() / f"{name}.png"
940-
dot_path = image_path.parent / f"{image_path.stem}.dot"
940+
dot_path = image_path.parent / image_path.stem / ".dot"
941941

942942
# Create graphviz file of workflow
943943
self.to_graphviz(dot_path)

0 commit comments

Comments
 (0)