Skip to content

Commit

Permalink
fix: data type correction (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin authored Oct 1, 2024
1 parent a1153d1 commit 01585b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/masker/dma-collection-masker
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def _metadata_from_filename(collection_file: Path) -> FileMetadata:
"""
try:
meta_values = collection_file.stem.split("__", maxsplit=2)[-1].split("_")[1:6]
meta_values[0] = parse_version(meta_values[0]) # type: ignore[call-overload]
meta_values[0] = str(parse_version(meta_values[0])) # type: ignore[call-overload]
meta_values.append("_".join(meta_values[1:3] + [meta_values[4]])) # pkey
meta_values.append("_".join(meta_values[1:5])) # collection_key
metadata = FileMetadata(*meta_values)
Expand Down

0 comments on commit 01585b7

Please sign in to comment.