FOI-Bioinformatics / CanSNPer2

CanSNPer2: A toolkit for SNP-typing bacterial genomes.
GNU General Public License v3.0
6 stars 2 forks source link

tree file with ";" insted of tabs will lead to missing node warnings #31

Open CarolineOhrman opened 1 year ago

CarolineOhrman commented 1 year ago

When creating the database using a tree file with semicolon ";" instead of tabs will render warnings on all nodes but the database seem to be working properly. I do not get this errror when creating the database with a treefile wherer i have replaced ; with tab.

Example

...
2023-03-13 15:25:14,781 NewickTree [WARNI]  #Node has no snp_annotation 1.ORI3.i
2023-03-13 15:25:14,781 NewickTree [WARNI]  #Node has no snp_annotation 1.ORI3.j
2023-03-13 15:25:14,781 NewickTree [WARNI]  #Node has no snp_annotation 1.ORI3.l
2023-03-13 15:25:14,781 NewickTree [WARNI]  #Node has no snp_annotation 1.ORI3.m
2023-03-13 15:25:14,782 NewickTree [WARNI]  #Node has no snp_annotation 1.ORI3.o
2023-03-13 15:25:14,782 NewickTree [WARNI]  #Node has no snp_annotation 1.ORI3.p
2023-03-13 15:25:14,782 NewickTree [WARNI]  #Node has no snp_annotation 1.ORI3.q
2023-03-13 15:25:14,782 NewickTree [WARNI]  #Node has no snp_annotation 0.PE2a.a
2023-03-13 15:25:14,782 NewickTree [WARNI]  #Node has no snp_annotation 0.PE7.a
2023-03-13 15:25:14,782 NewickTree [WARNI]  #Node has no snp_annotation root
...