Skip to content

Commit

Permalink
small corrections in MR/acquisition_data.py
Browse files Browse the repository at this point in the history
  • Loading branch information
evgueni-ovtchinnikov committed Oct 26, 2023
1 parent 5328456 commit 0c61672
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/Python/MR/acquisition_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
from docopt import docopt
args = docopt(__doc__, version=__version__)

import ast
from sirf.Utilities import error, examples_data_path, existing_filepath

# import MR engine module
Expand All @@ -53,9 +54,9 @@
data_path = examples_data_path('MR')
slcs = int(args['--slices'])
to_be_ignored = args['--ignore']
ignored_mask = IgnoreMask(0)
ignored_mask = mr.IgnoreMask(0)
if to_be_ignored is not None:
ignored_mask.ignore(literal_eval(to_be_ignored))
ignored_mask.ignore(ast.literal_eval(to_be_ignored))
show_plot = not args['--non-interactive']

def main():
Expand Down

0 comments on commit 0c61672

Please sign in to comment.