From 4c4997ecff41a2d24ab6783acd7ddd4654bf98e1 Mon Sep 17 00:00:00 2001 From: Auden Cote-L'Heureux <52716489+AudenCote@users.noreply.github.com> Date: Tue, 24 Oct 2023 11:20:52 -0400 Subject: [PATCH] Update CountTaxonOccurence.py --- Utilities/for_trees/CountTaxonOccurence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/for_trees/CountTaxonOccurence.py b/Utilities/for_trees/CountTaxonOccurence.py index 03dcb81..6a62087 100644 --- a/Utilities/for_trees/CountTaxonOccurence.py +++ b/Utilities/for_trees/CountTaxonOccurence.py @@ -52,7 +52,7 @@ def count_tips(in_dir): taxa = sorted(list(dict.fromkeys([tax for file in count_data for tax in count_data[file]]))) - with open('tip_count_data.csv', 'w') as o: + with open('TaxonOccurrence.csv', 'w') as o: o.write(',' + ','.join(taxa) + '\n') for file in count_data: o.write(file)