Skip to content

Commit

Permalink
Automatically expand the Population spreadsheet (#636)
Browse files Browse the repository at this point in the history
* Added automatic expansion of population ontology
  • Loading branch information
b-gehrke authored Apr 25, 2024
1 parent 21296f0 commit 06db87b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/expand_population.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:
branches:
- master
paths:
- "Population/BCIO_Population.xlsx"
permissions:
contents: write
jobs:
expand:
runs-on: ubuntu-latest
name: Expand population
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: pip install -r scripts/requirements.txt
- name: Run conversion
run: python3 scripts/expanderAggregate.py -i "Population/BCIO_Population.xlsx"
- uses: EndBug/add-and-commit@v9 # You can change this to use a specific version.
with:
add: 'Population/BCIO_Population_Expanded.xlsx'
default_author: 'github_actions'
message: "Expanded population"
push: true
Binary file modified Population/BCIO_Population.xlsx
Binary file not shown.
Binary file modified Population/BCIO_Population_Expanded.xlsx
Binary file not shown.

0 comments on commit 06db87b

Please sign in to comment.