Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: could not convert string to float #10

Open
Dawei-Xia opened this issue Aug 22, 2021 · 0 comments
Open

ValueError: could not convert string to float #10

Dawei-Xia opened this issue Aug 22, 2021 · 0 comments

Comments

@Dawei-Xia
Copy link

Hi LKremer

I am trying to use CAFE_fig to visualize the results from CAFE, but I encountered some problems.
Here is my running: python3 ./CAFE_fig-master/CAFE_fig.py out.cafe
And these are output:
Traceback (most recent call last):
File "./CAFE_fig-master/CAFE_fig.py", line 520, in
main(**vars(args))
File "./CAFE_fig-master/CAFE_fig.py", line 461, in main
c = CAFE_fig(report_cafe, families, clades, pb, pf, dump, gfx_output_format, count_all_expansions)
File "./CAFE_fig-master/CAFE_fig.py", line 89, in init
self.parse_tree()
File "./CAFE_fig-master/CAFE_fig.py", line 163, in parse_tree
for family in self:
File "./CAFE_fig-master/CAFE_fig.py", line 334, in iter
yield Family(line, self)
File "./CAFE_fig-master/CAFE_fig.py", line 421, in init
self.pvalue = float(values[2])
ValueError: could not convert string to float: '((Smoellendorffii_1:364.624,(Athaliana_5:314.68,(Earvense_6:251.574,(Dchinensis_2:209.164,(Afokiensis_7:179.207,(((LW_3:55.6774,ZXDS_1:55.6774)_2:46.7325,RS119_1:102.41)_2:39.5235,(Pnudum_4:42.3447,Ttannensis_4:42.3447)_4:99.5887)_3:37.2738)_3:29.9567)_3:42.4098)_3:63.1059)_3:49.944)_3:29.8768,Pp_4:394.5)_3'
Could you help with this? I appreciate your help. Thanks!
Xia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant