Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to raise error if a non-existent module is included in the config file #490

Open
andrewphilipsmith opened this issue Aug 31, 2022 · 0 comments

Comments

@andrewphilipsmith
Copy link

(This issue was originally opened here urbangrammarai#24)

How to reproduce

  1. Run pyveg_generate_config to create a config file.
  2. Edit the modules_to_use to include a module DoesNotExist. eg:
modules_to_use = {
    "Sentinel2": [
        "VegetationDownloader",
        "DoesNotExist"
    ]
}
  1. Run pyvis_run_pipeline with the config file.

Expected behaviour

One or both of the following:

  • An error message it included in the log file
  • The pipeline execution is interrupted

Actual behaviour

The pipeline executes without any warnings or errors. The non-existent module is silently skipped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant