Skip to content

Commit

Permalink
fix SHA value for older resource versions
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Jul 17, 2024
1 parent f1712e0 commit 977125a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bioimageio_collection_backoffice/remote_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 977125a

Please sign in to comment.