-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically expand the Population spreadsheet (#636)
* Added automatic expansion of population ontology
- Loading branch information
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.