Skip to content

Commit

Permalink
Merge pull request #661 from open-life-science/merge-script-from-stat…
Browse files Browse the repository at this point in the history
…-repo

Move from stat repo scripts to extract data into CSV data and generate CSV artifacts
  • Loading branch information
yochannah authored Sep 7, 2023
2 parents 0baa89f + 3bc9945 commit 9bda376
Show file tree
Hide file tree
Showing 18 changed files with 5,887 additions and 14 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/update-artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Update artifacts

on:
schedule:
# We'll run this weekly
- cron: '0 12 * * 1'
workflow_dispatch:

jobs:
update-schedule:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Miniconda
uses: conda-incubator/[email protected]
with:
# channels: conda-forge,defaults
# channel-priority: true
activate-environment: ols-website
environment-file: environment.yml

- shell: bash -el {0}
run: |
conda info
conda list
conda config --show-sources
conda config --show
- name: Update people data artifacts
shell: bash -el {0}
run: |
python bin/prepare_website_data.py extractfullpeopledata
- name: Update library artifacts
shell: bash -el {0}
run: |
python bin/prepare_website_data.py extractlibrary
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
commit-message: Update schedule
title: Automatic schedule update
body: Automatic schedule update done via GitHub Action once a week
base: main
branch: schedule-update
delete-branch: true
195 changes: 195 additions & 0 deletions _data/artifacts/library.csv

Large diffs are not rendered by default.

506 changes: 506 additions & 0 deletions _data/artifacts/people.csv

Large diffs are not rendered by default.

936 changes: 936 additions & 0 deletions _data/artifacts/people_per_cohort.csv

Large diffs are not rendered by default.

958 changes: 958 additions & 0 deletions _data/artifacts/projects.csv

Large diffs are not rendered by default.

158 changes: 158 additions & 0 deletions _data/artifacts/roles/expert.csv

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions _data/artifacts/roles/facilitator.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
,city,country,first-name,last-name,pronouns,country_3,continent,longitude,latitude,ols-5,ols-2,ols-3,ols-4,ols-1,ols-6,ols-8,ols-7
amangoel185,Manchester,United Kingdom,Aman,Goel,he/him/his,GBR,Europe,-2.2451148,53.4794892,,,,,,,,facilitator
batoolmm,Liverpool,Saudi Arabia,Batool,Almarzouq,She/Her,SAU,Asia,-2.99168,53.4071991,facilitator,,,facilitator,,facilitator,,
complexbrains,Montreal,Canada,Isil,Poyraz Bilgin,Dr. or Miss,CAN,North America,-73.5698065,45.5031824,,,,,,facilitator,,
da5nsy,Washington Dc,United States,Danny,Garside,he/him,USA,North America,-77.0365427,38.8950368,,,,facilitator,,,,
ekaroune,Portsmouth,United Kingdom,Emma,Karoune,she/her,GBR,Europe,-1.0906023,50.800031,,,,facilitator,,,,
glado718,Nairobi,Kenya,Gladys,Rotich,,KEN,Africa,36.8288420082562,-1.3026148499999999,,,,,,,,facilitator
ismael-kg,London,United Kingdom,Ismael,Kherroubi Garcia,He/him,GBR,Europe,-0.14405508452768728,51.4893335,,,,,,facilitator,,
jafsia,Yaounde,Cameroon,Elisee,Jafsia,He/Him,CMR,Africa,11.5213344,3.8689867,,,,,,,,facilitator
karegapauline,Nairobi,Kenya,Pauline,Karega,she/her,KEN,Africa,36.8288420082562,-1.3026148499999999,,,,,,facilitator,,
landimi2,Nairobi,Kenya,Michael,Landi,He/Him,KEN,Africa,36.8288420082562,-1.3026148499999999,facilitator,,,facilitator,,,,
laurah-nyasita-ondari,Nairobi,Kenya,Laurah,Ondari,She/Her,KEN,Africa,36.8288420082562,-1.3026148499999999,,,,,,,,facilitator
macziatko,Dublin,Ireland,Nina,Trubanová,she/her/hers,IRL,Europe,-6.2605593,53.3493795,,,,,,,,facilitator
manulera,Paris,France,Manuel,Lera Ramirez,He/him,FRA,Europe,2.3200410217200766,48.8588897,facilitator,,,facilitator,,,,
melibleq,São Paulo,Brazil,Melissa,Black,she/her,BRA,South America,-47.1583944,-1.2043218,,,,,,,,facilitator
mgawe-cavin,"Nairobi, Kenya",Kenya,Cavin,Mgawe,He,KEN,Africa,36.8288420082562,-1.3026148499999999,,,,,,facilitator,,
msundukova,Bilbao,Spain,Mayya,Sundukova,she/her,ESP,Europe,-2.9350039,43.2630018,facilitator,,facilitator,facilitator,,facilitator,,
peranti,Paris,France,Pradeep,Eranti,,FRA,Europe,2.3200410217200766,48.8588897,,,,,,,,facilitator
phaarouknucleus,Kano,Nigeria,Umar Farouk,Ahmad,,NGA,Africa,8.5364136,11.8948389,,,,,,,,facilitator
slldec,Buenos Aires,Argentina,Sabrina,López,she/her/ella,ARG,South America,-58.4370894,-34.6075682,,,,,,,,facilitator
cassmurph,,Ireland,Cassandra,Murphy,She/Her,IRL,Europe,,,,,,,,,,facilitator
fnyasimi,,Kenya,Festus,Nyasimi,He/Him,KEN,Africa,,,facilitator,,,facilitator,,facilitator,,
122 changes: 122 additions & 0 deletions _data/artifacts/roles/mentor.csv

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions _data/artifacts/roles/organizer.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
,city,country,first-name,last-name,pronouns,country_3,continent,longitude,latitude,ols-5,ols-2,ols-3,ols-4,ols-1,ols-6,ols-8,ols-7
bebatut,Clermont-Ferrand,France,Bérénice,Batut,she/her,FRA,Europe,3.0819427,45.7774551,organizer,organizer,organizer,organizer,organizer,organizer,organizer,organizer
malvikasharan,London,United Kingdom,Malvika,Sharan,she/her,GBR,Europe,-0.14405508452768728,51.4893335,organizer,organizer,organizer,organizer,organizer,organizer,organizer,organizer
emmyft,,Netherlands,Emmy,Tsang,she/her,NLD,Europe,,,organizer,,organizer,organizer,,organizer,organizer,organizer
pazbc,,Argentina,Paz,Bernaldo,she/her,ARG,South America,,,organizer,,,,,organizer,organizer,organizer
yochannah,,United Kingdom,Yo,Yehudi,they/them,GBR,Europe,,,organizer,organizer,organizer,organizer,organizer,organizer,organizer,organizer
Loading

0 comments on commit 9bda376

Please sign in to comment.