Skip to content

Commit

Permalink
use bioimageio.spec.get_conda_env
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Nov 8, 2024
1 parent 237f63c commit b3c5826
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 314 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/request_changes_call.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
steps:
- name: reject reviewer id
run: exit 1
if: github.actor != 'bioimageiobot' && 'github|${{github.actor_id}}' != inputs.reviewer
if: (github.actor != 'bioimageiobot') && (format('github|{0}', github.actor_id) != inputs.reviewer)
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
Expand Down
312 changes: 0 additions & 312 deletions bioimageio_collection_backoffice/conda_env.py

This file was deleted.

3 changes: 2 additions & 1 deletion bioimageio_collection_backoffice/validate_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
from typing import Dict, List, Literal, Tuple, Union, cast

from bioimageio.spec import InvalidDescr, ResourceDescr, load_description
from bioimageio.spec.conda_env import CondaEnv
from bioimageio.spec.get_conda_env import get_conda_env
from bioimageio.spec.model import v0_4, v0_5
from bioimageio.spec.model.v0_5 import WeightsFormat
from bioimageio.spec.summary import ErrorEntry, ValidationDetail

from .conda_env import CondaEnv, get_conda_env
from .db_structure.log import LogEntry
from .gh_utils import render_summary
from .remote_collection import Record, RecordDraft
Expand Down

0 comments on commit b3c5826

Please sign in to comment.