Skip to content

Commit

Permalink
Merge branch 'main' into auto-update-10.5281/zenodo.7274275
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Jan 9, 2024
2 parents a0ff072 + c3842b0 commit eb09e0f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate_resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- conda-forge
create-args: >- # script dependencies
bioimageio.core
bioimageio.spec
bioimageio.spec>=0.4.9.post5
lxml
packaging
typer
Expand Down
7 changes: 5 additions & 2 deletions collection_rdf_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ config:
branch: master
collection_file_name: manifest.bioimage.io.yaml
- id: deepimagej
repository: fynnbe/models
repository: deepimagej/models
branch: master
collection_file_name: manifest.bioimage.io.yaml
test_summaries:
Expand Down Expand Up @@ -82,5 +82,8 @@ config:
repository: stardist/stardist-bioimage-io
branch: main
collection_file_name: collection.yaml

- id: biapy
repository: danifranco/BiaPy-bioimage-io
branch: main
collection_file_name: collection.yaml
collection: []
10 changes: 7 additions & 3 deletions scripts/download_documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@


def main(
folder: Path = Path(__file__).parent / "../dist", # nested folders with rdf.yaml files
folder: Path = Path(__file__).parent
/ "../dist", # nested folders with rdf.yaml files
):
"""Download the documentation file for every rdf.yaml found in (subfolders of) folder"""
if not folder.exists():
Expand All @@ -34,9 +35,12 @@ def main(

try:
resolve_source(
doc_uri, output=rdf_path.with_name(f"documentation.{type_ext}"), pbar=partial(tqdm, disable=True)
doc_uri,
output=rdf_path.with_name(f"documentation.{type_ext}"),
pbar=partial(tqdm, disable=True),
)
except ValueError:
except Exception as e:
warnings.warn(f"failed to resolve doc_ui: {e}")
_ = rdf_path.with_name("documentation.md").write_text(doc_uri)


Expand Down

0 comments on commit eb09e0f

Please sign in to comment.