...
However, in the config.json
other keys are present in this file: _app
, _tid
, _inputs
, and _outputs
.
...
Code Block |
---|
if '_app' and '_tid' and '_inputs' and '_outputs' in config.keys():
del config['_app'], config['_tid'], config['_inputs'], config['_outputs']
kwargs = config |
These lines were added to helper.py
(see Create a helper.py file)
The previous keys are always present in the config.json
, but when you applied a pipeline rule (i.e. if you apply the app on several subjects in a raw, see How to run an App on Brainlife) a new key is added to config.json
: _rule
. So this key must also be deleted from the config dictionary when it existed.
Note |
---|
Other keys may appear, so this function may need to be updated to take into account all of these keys. |