Skip to content

Commit dc89681

Browse files
authored
FIX: os.makedirs does not return directory
1 parent 5ab2fa0 commit dc89681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pipeline/engine/workflows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def write_graph(self,
410410
base_dir = op.join(base_dir, self.name)
411411
else:
412412
base_dir = os.getcwd()
413-
base_dir = os.makedirs(base_dir, exist_ok=True)
413+
os.makedirs(base_dir, exist_ok=True)
414414
if graph2use in ['hierarchical', 'colored']:
415415
if self.name[:1].isdigit(): # these graphs break if int
416416
raise ValueError('{} graph failed, workflow name cannot begin '

0 commit comments

Comments
 (0)