Skip to content

Commit 7d0fbee

Browse files
committed
update codebase
1 parent 979a3aa commit 7d0fbee

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/map_workflow.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
create-map:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-python@v4
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v5
1414
with:
1515
python-version: "3.x"
1616
check-latest: true
@@ -24,7 +24,7 @@ jobs:
2424
python generate_map.py germany
2525
python generate_map.py nogermany
2626
- name: Release Map
27-
uses: "softprops/action-gh-release@v1"
27+
uses: "softprops/action-gh-release@v2"
2828
if: startsWith(github.ref, 'refs/tags/')
2929
with:
3030
token: "${{ secrets.GITHUB_TOKEN }}"

generate_map.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@
7979
# keep only mainland parts for conciseness
8080
eur_country_drop_parts = {"FR": ["FRY", "FRM"], "ES": ["ES7"], "IT": ["ITG"]}
8181
for v in eur_country_drop_parts.values():
82-
eur_country.drop(eur_country[eur_country.FID.isin(v)].index, inplace=True)
82+
eur_country.drop(
83+
eur_country[eur_country.NUTS_ID.isin(v)].index, inplace=True)
8384

8485
# read location boundaries, specify the format, reduce location representation to their centroid point
8586
eur_location = gpd.read_file(geojsons["eur_location"])

0 commit comments

Comments
 (0)