Skip to content

Commit

Permalink
Correct bug in naming of output files.
Browse files Browse the repository at this point in the history
  • Loading branch information
pirmink committed May 3, 2024
1 parent 56ad5e4 commit c510c0f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ This section describes the installation for users. If you intend to contribute,
git clone --depth 1 --branch <tag> https://github.com/MeteoSwiss-APN/movero-plot
```


2. Create a virtual environment:

```bash
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "moveroplot"
version = "1.1.2"
version = "1.1.3"
description = "Movero-plot"
readme = "README.md"
keywords = [
Expand Down
3 changes: 2 additions & 1 deletion src/moveroplot/daytime_scores.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ def _generate_daytime_plots(
output_dir,
debug,
):
model_versions = list(models_data.keys())
# flat list of unique keys of dicts within models_data dict
model_versions = list({k for d in models_data.values() for k in d.keys()})

# initialise filename
base_filename = (
Expand Down
3 changes: 2 additions & 1 deletion src/moveroplot/time_scores.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ def _generate_timeseries_plots(
output_dir,
debug,
):
model_versions = list(models_data.keys())
# flat list of unique keys of dicts within models_data dict
model_versions = list({k for d in models_data.values() for k in d.keys()})

# initialise filename
base_filename = (
Expand Down

0 comments on commit c510c0f

Please sign in to comment.