Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fslpy
Commits
998165d7
Commit
998165d7
authored
Mar 27, 2020
by
Michiel Cottaar
Browse files
BUG: produce prettier JSON
parent
4147343d
Changes
1
Hide whitespace changes
Inline
Side-by-side
fsl/utils/filetree/filetree.py
View file @
998165d7
...
...
@@ -269,7 +269,7 @@ class FileTree(object):
return
obj
with
open
(
filename
,
'w'
)
as
f
:
json
.
dump
(
self
,
f
,
default
=
default
)
json
.
dump
(
self
,
f
,
default
=
default
,
indent
=
2
)
@
classmethod
def
load_pickle
(
cls
,
filename
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment