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

correct types for webdisp_opts #1498

Merged
merged 1 commit into from
Jan 30, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyaerocom/aeroval/experiment_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@
model_list = self.cfg.model_cfg.keylist(model_name)
if not model_list:
logger.info("No model found, will make dummy model data")
self.cfg.webdisp_opts.hide_charts = ["scatterplot"]
self.cfg.webdisp_opts.pages = ["evaluation", "infos"]
self.cfg.webdisp_opts.hide_charts = ("scatterplot",)
self.cfg.webdisp_opts.pages = ("evaluation", "infos")

Check warning on line 139 in pyaerocom/aeroval/experiment_processor.py

View check run for this annotation

Codecov / codecov/patch

pyaerocom/aeroval/experiment_processor.py#L138-L139

Added lines #L138 - L139 were not covered by tests
model_id = make_dummy_model(obs_list, self.cfg)
model_list.append("dummy") # Adds the dummy model to model list after adding it to cfg
self.cfg.processing_opts.obs_only = True
Expand Down
Loading