check_status.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:HTSOHM-dev 作者: akaija 项目源码 文件源码
def run_ids():
    cols = [materials.c.run_id,
            func.max(materials.c.generation),
            func.count(materials.c.id)]
    rows = or_(materials.c.retest_passed == None, materials.c.retest_passed == True)
    sort = materials.c.run_id
    s = select(cols, rows).group_by(sort).order_by(asc(sort))
    print('\nrun-id\t\t\t\tgenerations\tmaterial')
    result = engine.execute(s)
    for row in result:
        print('%s\t%s\t\t%s' % (row[0], row[1], row[2]))
    result.close()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号