From 977125add002b6696d3e9d55f7103997787348d9 Mon Sep 17 00:00:00 2001 From: fynnbe Date: Wed, 17 Jul 2024 13:51:19 +0200 Subject: [PATCH] fix SHA value for older resource versions --- bioimageio_collection_backoffice/remote_collection.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bioimageio_collection_backoffice/remote_collection.py b/bioimageio_collection_backoffice/remote_collection.py index 9e5eb69d..26de2d6a 100644 --- a/bioimageio_collection_backoffice/remote_collection.py +++ b/bioimageio_collection_backoffice/remote_collection.py @@ -1106,9 +1106,7 @@ def create_collection_entries( id_map: Dict[str, IdInfo] = {} version_infos: List[VersionInfo] = [] for record_version in versions: - rdf_version_data = latest_record_version.client.load_file( - latest_record_version.rdf_path - ) + rdf_version_data = record_version.client.load_file(record_version.rdf_path) if rdf_version_data is None: logger.error("failed to load {}", latest_record_version.rdf_path) continue