itolapi icon indicating copy to clipboard operation
itolapi copied to clipboard

Problems of multi datasets cannot be shown

Open ataravarice opened this issue 5 years ago • 2 comments

Hello everyone:

When I upload a tree with two datasets, I found that only one dataset is exported by default.

The second dataset, a binary file, is uploaded correctly and can be shown online. But the dataset is hide by default. image

Does anyone knows how to export a tree with two datasets? My aim is to get a file like this:

image

My current command to export is like this:

print('Exporting to pdf') itol_exporter = ItolExport() itol_exporter.set_export_param_value('tree', str(test.comm.tree_id)) export_location = os.path.join(current_dir, treefile+'.pdf') itol_exporter.set_export_param_value('format', 'pdf') itol_exporter.set_export_param_value('datasetList','dataset1') itol_exporter.set_export_param_value('datasetList','dataset2') itol_exporter.set_export_param_value('datasetList','dataset0') itol_exporter.set_export_param_value('datasetList','binary_data') itol_exporter.set_export_param_value('bootstrap_display','1') itol_exporter.set_export_param_value('bootstrap_type','2') itol_exporter.set_export_param_value('datasets_visible','5') itol_exporter.export(export_location)

ataravarice avatar Jun 19 '19 15:06 ataravarice

@ataravarice You may find this useful from the official website: image https://itol.embl.de/help.cgi#batchExp

YiyanYang0728 avatar Nov 09 '22 16:11 YiyanYang0728

Thanks a lot

@ataravarice You may find this useful from the official website: image https://itol.embl.de/help.cgi#batchExp

ataravarice avatar Nov 09 '22 16:11 ataravarice