Skip to content

Commit 983ac37

Browse files
committed
make open python 2 compatible
1 parent 2fcaa45 commit 983ac37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pipeline/engine/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1335,7 +1335,7 @@ def write_workflow_resources(graph, filename=None):
13351335
big_dict['mapnode'] += [subidx] * nsamples
13361336
big_dict['params'] += [params] * nsamples
13371337

1338-
with open(filename, 'w') as rsf:
1338+
with open(filename, 'wt') as rsf:
13391339
json.dump(big_dict, rsf)
13401340

13411341
return filename

0 commit comments

Comments
 (0)