-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Hello,
I encountered an error when I try to parse the cafe report. I found a similar issue posted before and saying this error below is caused by the additional internal node label. I tried to delete the internal node labels in the input tree to fix the problem but didn't work. Can anyone tell me which exact part should I delete?
Here is my original tree:
(Dro:155.769,(Mus:140.192,(((Aedi:41.5384,Cul:41.5384)1:41.5384,(Ang:41.5384,Ans:41.5384)1:41.5384)1:41.5384,(Tri:109.038,((((Ped:31.1538,Fra:31.1538)1:31.1538,(Bla:46.7307,((Zoo:15.5769,Cry:15.5769)1:15.5769,Per:31.1538)1:15.5769)1:15.5769)1:15.5769,((Cim:25.9615,Cin25.9615)83.6:25.9615,Lao:51.923)1:25.9615)1:15.5769,(Apia:74.7691,(Lin:56.0768,((Nyl:18.6923,Cam:18.6923)1:18.6923,(Mon:18.6923,Cyp:18.6923)1:18.6923)1:18.6923)1:18.6923)1:18.6923)1:15.5769)1:15.5769)1:15.5769)1:15.5769)
CAFE Report File Analysis
09.21.2020 | 10:24:20
Parsing format information...
Initializing output structures...
Counting changes per branch...
[*-------------------------------------------------] 0.061% complete.Traceback (most recent call last):
File "./cafetutorial_report_analysis.py", line 371, in
results_main, node_fams_main = cra(inlines_main, results_main, node_fams_main, linestart_main, ancfilename, sorted_nodes, 1);
File "./cafetutorial_report_analysis.py", line 193, in cra
anccount = int(tlinfo[curanc][4]);
ValueError: invalid literal for int() with base 10: '4_11'