def get_name_by_inchikey(self, inchikey):
    "Get metabolite's name by its inchikey\n        \n        Args:\n            inchikey (:obj:`str`): inchi key of metabolite\n\n        Return:\n            (:obj:`str`): name of metabolite\n        "
    query = {'inchikey': inchikey}
    projection = {'_id': 0, 'name': 1}
    doc = self.collection.find_one(filter=query, projection=projection, collation=self.collation)
    if (doc is None):
        return 'No metabolite found.'
    else:
        return doc['name']
Get metabolite's name by its inchikey

Args:
    inchikey (:obj:`str`): inchi key of metabolite

Return:
    (:obj:`str`): name of metabolite
def get_name_by_inchikey(self, inchikey):
    "Get metabolite's name by its inchikey\n        \n        Args:\n            inchikey (:obj:`str`): inchi key of metabolite\n\n        Return:\n            (:obj:`str`): name of metabolite\n        "
    query = {'inchikey': inchikey}
    projection = {'_id': 0, 'name': 1}
    doc = self.collection.find_one(filter=query, projection=projection, collation=self.collation)
    if (doc is None):
        return 'No metabolite found.'
    else:
        return doc['name']