Skip to content

Commit

Permalink
Merge branch 'main' into careamics-ci-script
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe authored Nov 20, 2024
2 parents cd73ea8 + bf77257 commit 88a3285
Show file tree
Hide file tree
Showing 16 changed files with 74 additions and 337 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') && (format('github|{0}', 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
4 changes: 3 additions & 1 deletion bioimageio_collection_backoffice/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
.. include:: ../README.md
"""

from ._backoffice import BackOffice as BackOffice
from ._backoffice import BackOffice

__all__ = ["BackOffice"]
3 changes: 3 additions & 0 deletions bioimageio_collection_backoffice/_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ class Settings(BaseSettings, extra="ignore"):
)

github_output: Optional[str] = None
github_step_summary: Optional[str] = None
"""see https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-job-summary"""

collection_config: str = (
"https://raw.githubusercontent.com/bioimage-io/collection/main/bioimageio_collection_config.json"
)
Expand Down
3 changes: 0 additions & 3 deletions bioimageio_collection_backoffice/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,12 @@
from bioimageio.spec.common import HttpUrl, RelativeFilePath
from bioimageio.spec.utils import download
from loguru import logger
from ruyaml import YAML

from ._settings import settings
from .remote_collection import Record, RemoteCollection
from .requests_utils import put_file, raise_for_status_discretely
from .s3_client import Client

yaml = YAML(typ="safe")


class SkipForNow(NotImplementedError):
pass
Expand Down
3 changes: 3 additions & 0 deletions bioimageio_collection_backoffice/common.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import pydantic
from ruyaml import YAML

yaml = YAML(typ="safe")


class Node(
Expand Down
301 changes: 0 additions & 301 deletions bioimageio_collection_backoffice/conda_env.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class UnpackingStatus(_DraftStatusBase, frozen=True):

class UnpackedStatus(_DraftStatusBase, frozen=True):
name: Literal["unpacked"] = "unpacked"
description: str = "staging was successful; awaiting automated tests to start"
description: str = "staging was successful; awaiting automated tests to start"
step: Literal[2] = 2
icon: str = "⏳"

Expand Down
Loading

0 comments on commit 88a3285

Please sign in to comment.