def get_full_md5(self, partial_md5, collection):
        """Support partial/short md5s, return the full md5 with this method"""
        print 'Notice: Performing slow md5 search...'
        starts_with = '%s.*' % partial_md5
        sample_info = self.database[collection].find_one({'md5': {'$regex' : starts_with}},{'md5':1})
        return sample_info['md5'] if sample_info else None
dataset/ETHPy150Open SuperCowPowers/workbench/workbench/server/data_store.py/DataStore.get_full_md5/original