Skip to content

Commit 3f33497

Browse files
committed
No longer concatenating extensions
1 parent 32e724c commit 3f33497

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nipype/pipeline/engine/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,7 @@ def export_graph(graph_in, base_dir=None, show=False, use_execgraph=False,
10491049
def format_dot(dotfilename, format='png'):
10501050
"""Dump a directed graph (Linux only; install via `brew` on OSX)"""
10511051
if format != 'dot':
1052+
dotfilename = os.path.splitext(dotfilename)[0]
10521053
cmd = 'dot -T%s -O \'%s\'' % (format, dotfilename)
10531054
try:
10541055
CommandLine(cmd).run()

0 commit comments

Comments
 (0)