code: def omega_param(val):
      
      val = val.strip().rstrip()
      if val.startswith(('"', "'")):
          return str(val[1:-1])
      if val.startswith('['):
          return tuple(map(float, val[1:-1].split()))
      return float(val)
docs: Parse a value from an Omega-scan configuration file
  
      This method tries to parse matlab-syntax parameters into a `str`,
      `float`, or `tuple`