def _find_ids_from_paths(self, paths):
    return [int(re.findall('\\d+', os.path.basename(p))[0]) for p in paths]
def _find_ids_from_paths(self, paths):
    return [int(re.findall('\\d+', os.path.basename(p))[0]) for p in paths]