def key_worker(task):
'''
This gets the required keys from the requested file.
'''
cpf, keys = task
cpd = checkplot._read_checkplot_picklefile(cpf)
resultkeys = []
for k in keys:
try:
resultkeys.append(dict_get(cpd, k))
except:
resultkeys.append(np.nan)
return resultkeys
############
## CONFIG ##
############
评论列表
文章目录