From 9f6184f9a75f4093274b91b228914f7e2d0bb036 Mon Sep 17 00:00:00 2001 From: verena <9377970+vpchung@users.noreply.github.com> Date: Mon, 29 Jan 2024 12:03:13 -0800 Subject: [PATCH 1/2] quick fix: regex for capturing grant project synID --- portal_tables/sync_grants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portal_tables/sync_grants.py b/portal_tables/sync_grants.py index b359eb39..a177e8a3 100644 --- a/portal_tables/sync_grants.py +++ b/portal_tables/sync_grants.py @@ -112,7 +112,7 @@ def main(): print("Adding new grants...") new_grants.loc[ :, "project_id" - ] = new_grants.GrantSynapseProject.str.extract(r":(syn\d*?)/wiki") + ] = new_grants.GrantSynapseProject.str.extract(r":(syn\d*)/?") sync_table(syn, new_grants, args.portal_table) print("DONE ✓") From ef9dbc553372953968279498d225a9834c4c0c48 Mon Sep 17 00:00:00 2001 From: verena <9377970+vpchung@users.noreply.github.com> Date: Mon, 29 Jan 2024 12:03:34 -0800 Subject: [PATCH 2/2] update gh action versions --- .github/workflows/update-theme-graphs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-theme-graphs.yml b/.github/workflows/update-theme-graphs.yml index 43af7c6e..97479769 100644 --- a/.github/workflows/update-theme-graphs.yml +++ b/.github/workflows/update-theme-graphs.yml @@ -9,12 +9,12 @@ jobs: update: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.1 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5.0.0 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: |