Commit 842b58a2 authored by Saad Jbabdi's avatar Saad Jbabdi
Browse files

moved import json

parent c9b8d194
......@@ -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()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment