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

Problems of multi datasets cannot be shown #29

Open
ataravarice opened this issue Jun 19, 2019 · 2 comments
Open

Problems of multi datasets cannot be shown #29

ataravarice opened this issue Jun 19, 2019 · 2 comments

Comments

@ataravarice
Copy link

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)

@YiyanYang0728
Copy link

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

@ataravarice
Copy link
Author

Thanks a lot

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

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

2 participants