Closed zhang570221322 closed 2 years ago
is it my bokeh version problem? my bokeh version is 2.3.3
I reinstall the dependencies. But I find the many version error:
numpy==1.21.4 h5py==3.4.0 pandas==1.3.4 scikit-bio==0.5.6 so I install them by default version Then it occurs :
Traceback (most recent call last):
File "opal.py", line 454, in <module>
main()
File "opal.py", line 447, in main
html.create_html(pd_rankings, ranks_scored, pd_metrics, labels, sample_ids_list, plots_list, output_dir, args.desc)
File "/data/home/wlzhang/classfication/software/statistics/OPAL/src/html_opal.py", line 517, in create_html
select_sample, select_rank, heatmap_legend_div, mytable1 = create_metrics_table(pd_metrics, labels, sample_ids_list)
File "/data/home/wlzhang/classfication/software/statistics/OPAL/src/html_opal.py", line 386, in create_metrics_table
html += mydf_metrics.style.apply(get_heatmap_colors, df_metrics=mydf_metrics, axis=1).format(precision=3).set_table_styles(this_style).render()
TypeError: format() got an unexpected keyword argument 'precision'
bokeh==0.13.0 is required to generate the html output. Unfortunately newer versions are not fully compatible and require partial rewriting of the code, which I plan to do in the future. The recommended library versions are in requirements/default.txt.
Some libraries have been upgraded and tested in dev, but the bokeh version is still the same.
Thanks
When I run the Example:
It occurs the error. The stack of errors is as follows: