mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-28 05:00:24 +08:00
Update CountTaxonOccurence.py
This commit is contained in:
parent
b3fcdc7c3c
commit
4c4997ecff
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user