diff --git a/scripts/check_compatibility_biapy.py b/scripts/check_compatibility_biapy.py index a30e986..6ccd5ef 100644 --- a/scripts/check_compatibility_biapy.py +++ b/scripts/check_compatibility_biapy.py @@ -4,7 +4,7 @@ from ruyaml import YAML from bioimageio_collection_backoffice.db_structure.compatibility import ( - CompatiblityReport, + CompatibilityReport, ) from bioimageio_collection_backoffice.remote_collection import Record, RemoteCollection from bioimageio_collection_backoffice.s3_client import Client @@ -22,7 +22,7 @@ def check_compatibility_biapy_impl( rdf = record.get_rdf() if rdf.get("type") != "model": - return CompatiblityReport( + return CompatibilityReport( tool=tool, error=None, status="not-applicable", @@ -34,7 +34,7 @@ def check_compatibility_biapy_impl( status = "passed" if not error else "failed" if error: print(f"Reason why BiaPy is not compatible: {error_message}") - return CompatiblityReport( + return CompatibilityReport( tool=tool, status=status, details=error_message, diff --git a/scripts/upload_reports.py b/scripts/upload_reports.py index 28080b4..85b21b4 100644 --- a/scripts/upload_reports.py +++ b/scripts/upload_reports.py @@ -7,7 +7,7 @@ from ruyaml import YAML from bioimageio_collection_backoffice.db_structure.compatibility import ( - CompatiblityReport, + CompatibilityReport, ) from bioimageio_collection_backoffice.remote_collection import ( get_remote_resource_version, @@ -37,7 +37,7 @@ def upload_reports(reports_folder: Union[Path, str]): continue assert isinstance(report_data, dict) - report = CompatiblityReport(tool=tool, **report_data) + report = CompatibilityReport(tool=tool, **report_data) record = get_remote_resource_version( client=client, concept_id=concept, version=version