Skip to content

Commit

Permalink
Correct md location in recombinant_samples_report
Browse files Browse the repository at this point in the history
  • Loading branch information
hyanwong authored Dec 4, 2024
1 parent 8b015b6 commit 7cf1468
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 7cf1468

Please sign in to comment.