Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix pybiolib url -> path #12

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 "actions@github.com"
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'])