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

BioMart filter input #257

Open
savoie-christopher opened this issue Aug 29, 2023 · 0 comments
Open

BioMart filter input #257

savoie-christopher opened this issue Aug 29, 2023 · 0 comments

Comments

@savoie-christopher
Copy link

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,

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

1 participant