Skip to content

Problems of multi datasets cannot be shown #29

@ataravarice

Description

@ataravarice

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions