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
Michiel Cottaar
fsl_mrs
Commits
842b58a2
Commit
842b58a2
authored
Jun 11, 2020
by
Saad Jbabdi
Browse files
moved import json
parent
c9b8d194
Changes
1
Hide whitespace changes
Inline
Side-by-side
fsl_mrs/scripts/fsl_mrs
View file @
842b58a2
...
...
@@ -14,7 +14,7 @@ from fsl_mrs.aux import configargparse
from
fsl_mrs
import
__version__
from
fsl_mrs.utils.splash
import
splash
import
json
# NOTE!!!! THERE ARE MORE IMPORTS IN THE CODE BELOW (AFTER ARGPARSING)
...
...
@@ -370,6 +370,7 @@ def str_or_int_arg(x):
return
x
def
tissue_frac_arg
(
x
):
import
json
try
:
with
open
(
x
)
as
jsonFile
:
jsonString
=
jsonFile
.
read
()
...
...
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