Skip to content

Commit

Permalink
Merge pull request #432 from hyanwong/patch-11
Browse files Browse the repository at this point in the history
Correct md location in recombinant_samples_report
  • Loading branch information
jeromekelleher authored Dec 4, 2024
2 parents 8b015b6 + 7cf1468 commit 89421fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sc2ts/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,7 @@ def recombinant_samples_report(self, nodes):
closest_recombinant, path_length = self._get_closest_recombinant(tree, node)
sample_is_recombinant = False
if closest_recombinant != -1:
recomb_date = self.ts.node(closest_recombinant).metadata["date_added"]
recomb_date = self.ts.node(closest_recombinant).metadata["sc2ts"]["date_added"]
sample_is_recombinant = recomb_date == str(node_summary["date"])
summary = {
"recombinant": closest_recombinant,
Expand Down

0 comments on commit 89421fb

Please sign in to comment.