Skip to content

Commit

Permalink
Merge pull request #119 from jeremie-fouquet/bug-inexistent-bids-param
Browse files Browse the repository at this point in the history
Output None for inexistent parameter
  • Loading branch information
dvm-shlee authored Feb 5, 2024
2 parents 407e869 + 30c025a commit 6483ce1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions brkraw/lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ def meta_check_express(value, acqp, method, visu_pars):
if k != 'Equation':
exec('global {}'.format(k))
val = meta_get_value(v, acqp, method, visu_pars)
if isinstance(val, str):
val = None
exec('{} = {}'.format(k, val))
try:
exec("output = {}".format(value['Equation']), globals(), lcm)
Expand Down

0 comments on commit 6483ce1

Please sign in to comment.