Skip to content

Commit

Permalink
Fix bug in VCF data sorting
Browse files Browse the repository at this point in the history
Signed-off-by: jakub-nt <[email protected]>
  • Loading branch information
jakub-nt committed Nov 27, 2024
1 parent 8eed11e commit 696010c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cfbs/masterfiles/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def finalize_vcf(versions_dict, checksums_dict, files_dict):
# sort version numbers, in decreasing order
versions_dict["versions"] = OrderedDict(
sorted(
versions_dict["versions"].items(),
key=lambda p: (version_as_comparable_list(p[0]), p[1]),
working_dict.items(),
key=lambda p: version_as_comparable_list(p[0]),
reverse=True,
)
)
Expand Down

0 comments on commit 696010c

Please sign in to comment.