Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Huppmann <dh@dergelbesalon.at>
  • Loading branch information
phackstock and danielhuppmann authored Jan 16, 2025
1 parent 6a055fe commit 75f2705
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/user_guide/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ validation:
Filter model mappings from external repositories
------------------------------------------------

Since importing all model mappings from an external repository is typically not desired,
We often only want to use a subset of models in a particular project (and not import all mappings), so
there is an option to filter for specific model mappings. This works very similarly to
the filtering for definitions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ mappings:
repository:
name: common-definitions
include:
- MESSAGEix-GLOBIOM 2.1-M-R12
- REMIND-MAgPIE 3.1-4.6
2 changes: 1 addition & 1 deletion tests/test_region_aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def test_mapping_from_external_repository():
TEST_FOLDER_REGION_PROCESSING / "external_repo_test" / "definitions"
),
)
assert {"MESSAGEix-GLOBIOM 2.1-M-R12"} == set(processor.mappings.keys())
assert {"REMIND-MAgPIE 3.1-4.6"} == set(processor.mappings.keys())
finally:
clean_up_external_repos(dsd.config.repositories)

Expand Down

0 comments on commit 75f2705

Please sign in to comment.