Skip to content

Commit

Permalink
Merge pull request #91 from bioimage-io/biapy_ci_fix
Browse files Browse the repository at this point in the history
Correct minor bug in biapy compatibility check script
  • Loading branch information
danifranco authored Aug 16, 2024
2 parents 746ebef + 5d4c3aa commit ea86bf6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/check_compatibility_biapy.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ def check_compatibility_biapy_impl(
# Check models compatibility using a function inside BiaPy
_, error, error_message = check_bmz_model_compatibility(rdf)
status = "passed" if not error else "failed"
if error:
print(f"Reason why BiaPy is not compatible: {error_message}")
return CompatiblityReport(
tool=tool,
status=status,
details=error_message,
links=["biapy/biapy"],
error=error,
error=error_message,
)


Expand Down

0 comments on commit ea86bf6

Please sign in to comment.