Skip to content

Commit

Permalink
fix pybiolib url -> path
Browse files Browse the repository at this point in the history
  • Loading branch information
YaoYinYing committed Nov 8, 2023
1 parent e94d37f commit ad6b851
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/pprcode_biolib_runs_daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: badge

- name: Set up Python
uses: actions/setup-python@v4
Expand All @@ -22,7 +24,7 @@ jobs:

- name: Install dependencies
run: |
pip3 install pybiolib==1.1.1423
pip3 install pybiolib
- name: Fetch BioLib Runs count
run: |
Expand All @@ -47,6 +49,6 @@ jobs:
git config --global user.email "[email protected]"
git add image/badges/BioLib_Runs_badge.svg
git commit -m "Update BioLib run number to ${{ env.BIOLIB_RUNS }}"
git push
git push origin badge
fi
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ _Cover Image is presented with [**MolecularNodes Project**](https://github.com/B
----
[![PPRCODE Workflow](https://github.com/YaoYinYing/PPRCODE_Guideline/actions/workflows/pprcode-guideline.yml/badge.svg)](https://github.com/YaoYinYing/PPRCODE_Guideline/actions/workflows/pprcode-guideline.yml)
[![Docker Image Pulls](https://img.shields.io/docker/pulls/yaoyinying/pprcode)](https://hub.docker.com/r/yaoyinying/pprcode)
[![BioLib program Runs](image/badges/BioLib_Runs_badge.svg)](https://biolib.com/YaoYinYing/pprcode/)
[![BioLib program Runs](https://raw.githubusercontent.com/YaoYinYing/PPRCODE_Guideline/badge/image/badges/BioLib_Runs_badge.svg)](https://biolib.com/YaoYinYing/pprcode/)
----

# PPRCODE
Expand Down
2 changes: 1 addition & 1 deletion scripts/biolib_runcount.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

biolib.sign_in()
p=biolib.api.client
pp=p.get(url='/apps/',params={'account_handle':'YaoYinYing','app_name':'pprcode'})
pp=p.get(path='/apps/',params={'account_handle':'YaoYinYing','app_name':'pprcode'})
print(pp.json()['results'][0]['job_count'])

0 comments on commit ad6b851

Please sign in to comment.