Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Case of a NUMBER parameter

For instance, the app-maxfilter takes the parameter st_duration as optional. This parameter is either a float or None. Locally, in the config.json.example, when this parameter is not given it is written as:

...

Case of a STRING parameter

app-maxfilter takes another optional parameter (param_regularize), and this time it is either a string or None. In this case, you can also add in the Python file:

...

Code Block
tmp = dict((k, None) for k, v in config.items() if v == "")
config.update(tmp)

These lines were added to helper.py (see Create a helper.py file)