qmmd.mdsim.prepMTB
Attributes
Functions
|
Find the index of a line containing a keyword. |
|
Map indices in a block of text based on a dictionary. |
|
Write mapped indices to a file. |
|
Populate a dictionary with mapped indices from an MTB file. |
Module Contents
- qmmd.mdsim.prepMTB.ligand_dict
- qmmd.mdsim.prepMTB.covbond_dict
- qmmd.mdsim.prepMTB.SEPARATOR = ' '
- qmmd.mdsim.prepMTB.index_dict_template: Dict[str, Dict[str, Any]]
- qmmd.mdsim.prepMTB.find_line_index(file_name: str, keyword: str, start_from: int = 0) int[source]
Find the index of a line containing a keyword.
- qmmd.mdsim.prepMTB.map_index(block: List[str], sep_num: int, map_dict: Dict[str, str], index_dict: Dict[str, Dict[str, Any]], dof: str, reverse: int = 0) Dict[str, Dict[str, Any]][source]
Map indices in a block of text based on a dictionary.
- qmmd.mdsim.prepMTB.write_map_file(file_name: str, index_dict: Dict[str, Dict[str, Any]]) None[source]
Write mapped indices to a file.
- qmmd.mdsim.prepMTB.pop_dict(index_dict: Dict[str, Dict[str, Any]], org_mtb_file: str, map_dict: Dict[str, str]) Dict[str, Dict[str, Any]][source]
Populate a dictionary with mapped indices from an MTB file.
- qmmd.mdsim.prepMTB.index_dict