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: | 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 ✓")