本文整理汇总了Python中criteria.helper.criteria.Criteria.fetch_overlapping_features方法的典型用法代码示例。如果您正苦于以下问题:Python Criteria.fetch_overlapping_features方法的具体用法?Python Criteria.fetch_overlapping_features怎么用?Python Criteria.fetch_overlapping_features使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类criteria.helper.criteria.Criteria
的用法示例。
在下文中一共展示了Criteria.fetch_overlapping_features方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test_fetch_overlapping_features
# 需要导入模块: from criteria.helper.criteria import Criteria [as 别名]
# 或者: from criteria.helper.criteria.Criteria import fetch_overlapping_features [as 别名]
def test_fetch_overlapping_features(self):
region_index = ElasticSettings.idx('REGION', idx_type='STUDY_HITS')
(region_idx, region_idx_type) = region_index.split('/')
seqid = '1'
start = 206767602
stop = 206772494
result_docs = Criteria.fetch_overlapping_features('38', seqid, start, stop, region_idx, region_idx_type)
self.assertTrue(len(result_docs) > 0, 'Got some overlapping features')