Skip to content

Commit

Permalink
Merge pull request #103 from bioimage-io/fix_format_conda_env
Browse files Browse the repository at this point in the history
embed conda env as yaml code block in validation error
  • Loading branch information
FynnBe authored Nov 5, 2024
2 parents cdfbd12 + 8740b66 commit f41452a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bioimageio_collection_backoffice/run_dynamic_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@ def get_basic_summary():

else:
if conda_env_file.exists():
error = (
"Failed to install conda environment:\n" + conda_env_file.read_text()
)
error = f"Failed to install conda environment:\n```yaml\n{conda_env_file.read_text()}\n```"
else:
error = f"Conda environment yaml file not found: {conda_env_file}"

Expand Down

0 comments on commit f41452a

Please sign in to comment.