Skip to content

Commit

Permalink
Fixed bug where 'id' not a key was not handled
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByDrescher committed Sep 19, 2024
1 parent 3917709 commit bb1ac56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/actions/setup-poetry-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ runs:
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
shell: bash

- name: Configure Poetry virtual environment in project
run: poetry config virtualenvs.in-project true
shell: bash
# - name: Configure Poetry virtual environment in project
# run: poetry config virtualenvs.in-project true
# shell: bash

- name: Load cached venv
id: cached-poetry-dependencies
Expand Down
3 changes: 1 addition & 2 deletions biosimulators_test_suite/test_case/published_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,11 @@ def compatible_with_specifications(self, specifications):
reqs_satisfied = False
for alg_specs in specifications['algorithms']:
# TEMPORARY RBA REMOVAL
alg_id = alg_specs["id"]
if alg_specs['kisaoId']["id"] == "KISAO_0000669":
raise RuntimeError("Error with Algorithm Specification (KISAO_0000669):\n\tDue to incompatible, "
"outdated releases of RBApy, BioSimulators can no longer "
"support RBA processing."
f"{alg_id}")
f"{(alg_specs['id']) if 'id' in alg_specs else alg_specs['kisaoId']}")
format_reqs_satisfied = False
for format_in_specs in alg_specs['modelFormats']:
if (
Expand Down

0 comments on commit bb1ac56

Please sign in to comment.