8000 BioMart filter input · Issue #257 · cokelaer/bioservices · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
BioMart filter input #257
Open
Open
@savoie-christopher

Description

@savoie-christopher

Hi, it seems that the tutorial (https://bioservices.readthedocs.io/en/latest/biomart.html) uses this syntax to pass a list to the filter:

queries = ["", ""]
b.add_filter_to_xml("ensemble_gene_id", queries)

Although, it does not work on my end, but it does if I change the input for

queries = ["", ""]
b.add_filter_to_xml("ensemble_gene_id", ",".join(queries))

This could either be modified in the code (more elegant) or the tutorial could be modified.

Thanks,

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

      0