Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
pyrosetta.tests.protocols.indexed_structure_store.test_search Namespace Reference

Classes

class  TestStructureSearch
 

Functions

def fragment_start_indicies_from_residue_array
 
def fragments_from_source_residues
 

Function Documentation

def pyrosetta.tests.protocols.indexed_structure_store.test_search.fragment_start_indicies_from_residue_array (   fragment_length,
  source_residues 
)
def pyrosetta.tests.protocols.indexed_structure_store.test_search.fragments_from_source_residues (   fragment_length,
  source_residues 
)
Extract fragment entries from residue array.

source_residues - Source residue data, include id, resn, and 'orient' entry containing atomic coordinates.

returns - (fragment_start_indices, fragment_data)

References pyrosetta.tests.protocols.indexed_structure_store.test_search.fragment_start_indicies_from_residue_array(), and basic::options::OptionKeys::relax::range.range.

Referenced by pyrosetta.tests.protocols.indexed_structure_store.test_search.TestStructureSearch.test_pair_search(), and pyrosetta.tests.protocols.indexed_structure_store.test_search.TestStructureSearch.test_single_search().