Skip to content

Commit 2d1eacd

Browse files
committed
enh: address @arokem's comment
1 parent d88bcd3 commit 2d1eacd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dmriprep/config/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,10 +507,10 @@ def get(flat=False):
507507
for k, v in configs.items()}
508508

509509

510-
def dumps():
510+
def dumps(flat=False):
511511
"""Format config into toml."""
512512
from toml import dumps
513-
return dumps(get())
513+
return dumps(get(flat=flat))
514514

515515

516516
def to_filename(filename):

0 commit comments

Comments
 (0)