Skip to content

Commit

Permalink
Merge pull request #1357 from metno/fix-set-equivalence-pixel-maps
Browse files Browse the repository at this point in the history
Fix set equivalence checking in ModelMapsEngine
  • Loading branch information
jgriesfeller authored Oct 1, 2024
2 parents 9abd317 + ef31aeb commit c4ddcfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyaerocom/aeroval/modelmaps_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ def _run_model(self, model_name: str, var_list):
model_name, False
)

if self.cfg.modelmaps_opts.plot_types is CONTOUR or make_contour:
if self.cfg.modelmaps_opts.plot_types == {CONTOUR} or make_contour:
_files = self._process_contour_map_var(
model_name, var, self.reanalyse_existing
)
files.extend(_files)
if self.cfg.modelmaps_opts.plot_types is OVERLAY or make_overlay:
if self.cfg.modelmaps_opts.plot_types == {OVERLAY} or make_overlay:
# create overlay (pixel) plots
_files = self._process_overlay_map_var(
model_name, var, self.reanalyse_existing
Expand Down

0 comments on commit c4ddcfc

Please sign in to comment.