clamsproject / wfe-pipeline-runner

3 stars 1 forks source link

Illegal arguments #21

Closed marcverhagen closed 2 years ago

marcverhagen commented 2 years ago

Suppose you run a pipeline and hand in a parameter that is not defined for a service

$ python run_pipeline.py -v --params tokenizer-eol=True examples/mmif/tokenizer-spacy-1.json out.json

You will get a hard to decipher error. Somehow the code does not catch this properly.

marcverhagen commented 2 years ago

Fixed n https://github.com/clamsproject/pipeline-runner/commit/190b67e90d0dac9f0790425fb954b5346eb739d6.

Also added an issue to clams-python to nip this at the bud. See https://github.com/clamsproject/clams-python/issues/91.