Skip to content

Commit

Permalink
Add changes from main (#38)
Browse files Browse the repository at this point in the history
* quick fix: regex for capturing grant project synID

* update gh action versions

---------

Co-authored-by: verena <[email protected]>
  • Loading branch information
Bankso and vpchung committed Feb 7, 2024
1 parent d83a0d5 commit 48eec16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-theme-graphs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion portal_tables/sync_grants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ✓")

Expand Down

0 comments on commit 48eec16

Please sign in to comment.