当前位置: 首页>>代码示例>>Python>>正文


Python Lims.get_artifacts方法代码示例

本文整理汇总了Python中genologics.lims.Lims.get_artifacts方法的典型用法代码示例。如果您正苦于以下问题:Python Lims.get_artifacts方法的具体用法?Python Lims.get_artifacts怎么用?Python Lims.get_artifacts使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在genologics.lims.Lims的用法示例。


在下文中一共展示了Lims.get_artifacts方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: len

# 需要导入模块: from genologics.lims import Lims [as 别名]
# 或者: from genologics.lims.Lims import get_artifacts [as 别名]
lims.check_version()

# Get the list of all artifacts.
## artifacts = lims.get_artifacts()
## print len(artifacts), 'total artifacts'

## artifacts = lims.get_artifacts(qc_flag='UNKNOWN')
## print len(artifacts), 'QC UNKNOWN artifacts'
## artifacts = lims.get_artifacts(qc_flag='PASSED')
## print len(artifacts), 'QC PASSED artifacts'
## artifacts = lims.get_artifacts(qc_flag='FAILED')
## print len(artifacts), 'QC FAILED artifacts'

## artifacts = lims.get_artifacts(working_flag=True)
## print len(artifacts), 'Working-flag True artifacts'

name = 'GRU54A236'
name = 'jgr33'
artifacts = lims.get_artifacts(sample_name=name)
print len(artifacts), 'Sample name', name, 'artifacts'

artifacts = lims.get_batch(artifacts)
for artifact in artifacts:
    print artifact, artifact.name, artifact.state, artifact.working_flag, artifact.samples

artifacts = lims.get_artifacts(qc_flag='PASSED')
print len(artifacts), 'QC PASSED artifacts'
artifacts = lims.get_batch(artifacts)
for artifact in artifacts:
    print artifact, artifact.name, artifact.state, artifact.working_flag, artifact.samples
开发者ID:b97pla,项目名称:GenoLogics-LIMS-Python,代码行数:32,代码来源:get_artifacts.py


注:本文中的genologics.lims.Lims.get_artifacts方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。