diff --git a/sc2ts/info.py b/sc2ts/info.py index 9168a02..2dbfed9 100644 --- a/sc2ts/info.py +++ b/sc2ts/info.py @@ -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,