CAFE icon indicating copy to clipboard operation
CAFE copied to clipboard

tree: basic_string::_M_construct null not valid

Open YossGG opened this issue 6 years ago • 2 comments

I have some problems to perform the calculations with the large_family_file The first problem was the "Segmentation Fault" when I was running CAFE v3 I tried to perform the analysis with CAFE v4.2 and CAFE github repo: e9a2d3edecd58f2d0a2e326a75b47c456b51ede1

I have been performing step by step cafe, but I got the next error when I load my tree:

tree ((Hsapiens: 88.464846, (Clupus: 76.756963, (Ecaballus: 73.745437, ((Pvampyrus: 23.019102, Raegyptiacus: 23.019102): 42.097932, ((Pparnelli: 38.979498, (Mwaterhousii: 33.115163, (Drotundus: 30.683813, (Ajamaicensis: 26.275739, (Mharrisoni: 21.576576, (Lnivalis: 11.591220, Lyerbabuenae: 11.591220): 9.985356): 4.699163): 4.408074): 2.431349): 5.864335): 17.594998, (Mnatalensis: 47.881537, (Mbrandtii: 20.547808, Mdavidii: 20.547808): 27.333729): 8.692959): 8.542538): 8.628403): 3.011526): 11.707883): 15.053281, Mmusculus: 103.518127); ((Hsapiens:88.4648,(Clupus:76.757,(Ecaballus:73.7454,((Pvampyrus:23.0191,Raegyptiacus:23.0191):42.0979,((Pparnelli:38.9795,(Mwaterhousii:33.1152,(Drotundus:30.6838,(Ajamaicensis:26.2757,(Mharrisoni:21.5766,(Lnivalis:11.5912,Lyerbabuenae:11.5912):9.98536):4.69916):4.40807):2.43135):5.86433):17.595,(Mnatalensis:47.8815,(Mbrandtii:20.5478,Mdavidii:20.5478):27.3337):8.69296):8.54254):8.6284):3.01153):11.7079):15.0533,Mmusculus:103.518);

basic_string::_M_construct null not valid

I have done the same (step by step) with the version 3 and I didn't get this error (but the Segmentation Fault is the problem). Can you help me to figure out a solution?

Thank you !!

YossGG avatar Dec 03 '18 20:12 YossGG

I think this is simply because your tree has spaces in it. Try removing the spaces from the tree and see if the analysis completes. If so, I'll make a note to handle this better in a later version.

benfulton avatar Dec 03 '18 20:12 benfulton

Thank you so much!!

You are right. I have removed the spaces and it's running CAFE. Really, I appreciate your prompt attention

Best, Yocelyn

YossGG avatar Dec 03 '18 21:12 YossGG