Skip to content

Commit

Permalink
dont project __order
Browse files Browse the repository at this point in the history
  • Loading branch information
lzy7071 committed Feb 6, 2020
1 parent 50f1730 commit 313dd36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datanator_query_python/query/query_kegg_orthology.py
Expand Up @@ -86,7 +86,7 @@ def get_meta_by_kegg_id(self, kegg_ids, projection={'_id': 0, 'gene_ortholog': 0
Return:
(:obj:`tuple` of :obj:`pymongo.Cursor` and :obj:`int`): pymongo Cursor obj and number of documents found.
"""
projection['"__order"'] = 0
projection['__order'] = 0
query = {'kegg_orthology_id': {'$in': kegg_ids}}
pipeline = [
{'$match': {'kegg_orthology_id': {'$in': kegg_ids}}},
Expand Down

0 comments on commit 313dd36

Please sign in to comment.