Skip to content

Commit

Permalink
HDXDSYS-1053 HAPI Pipelines - Melanie's requested changes to food sec…
Browse files Browse the repository at this point in the history
…urity (#173)

* Melanie changes for food security
  • Loading branch information
mcarans authored Sep 23, 2024
1 parent d3f1d11 commit a19efdd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [0.10.3] - 2024-09-24

### Changed

- Melanie's food security changes (SOM admin 1 only)

## [0.10.2] - 2024-09-24

### Changed
Expand Down
1 change: 1 addition & 0 deletions src/hapi/pipelines/configs/food_security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ food_security:
adm1_only:
- "HTI"
- "MMR"
- "SOM"

# This is where "Level 1" is blank and there is only admin 2 data available
# in "Area" (usually blank "Level 1" means "Area" is admin 1 rather than 2)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def test_food_security(self, configuration, folder, pipelines):
count = session.scalar(
select(func.count(DBFoodSecurity.resource_hdx_id))
)
check.equal(count, 27879)
check.equal(count, 26941)

@pytest.mark.parametrize("themes_to_run", [{"humanitarian_needs": None}])
def test_humanitarian_needs(self, configuration, folder, pipelines):
Expand Down

0 comments on commit a19efdd

Please sign in to comment.