Open ataravarice opened 5 years ago
@ataravarice You may find this useful from the official website: https://itol.embl.de/help.cgi#batchExp
Thanks a lot
@ataravarice You may find this useful from the official website: https://itol.embl.de/help.cgi#batchExp
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.
Does anyone knows how to export a tree with two datasets? My aim is to get a file like this:
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)