test_general
#
Functions:
-
test_growing_keep_larger_component
–When a growing vector is an internal atom that divides the molecule,
-
test_growing_keep_larger_component_implicit_index
–When a growing vector is an internal atom that divides the molecule,
-
test_growing_keep_cue_component
–When a growing vector is an atom that divides the molecule,
-
test_replace_methyl
– -
test_replace_methyl_keep_h
– -
test_add_smiles_linker
–:return:
-
test_add_linker_rgroup_first
–:return:
-
test_linker_c_first
–Mark the C as the first connecting point in the linker
-
test_linker_o_first
–Mark the O as the first connecting point in the linker
-
test_add_a_linker_check_star
–- load the core
test_growing_keep_larger_component
#
test_growing_keep_larger_component(RGroups)
When a growing vector is an internal atom that divides the molecule, the largest component becomes the scaffold.
Source code in fegrow/testing/test_general.py
15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
test_growing_keep_larger_component_implicit_index
#
test_growing_keep_larger_component_implicit_index(RGroups)
When a growing vector is an internal atom that divides the molecule, the largest component becomes the scaffold.
Source code in fegrow/testing/test_general.py
30 31 32 33 34 35 36 37 38 39 40 41 42 |
|
test_growing_keep_cue_component
#
test_growing_keep_cue_component(RGroups)
When a growing vector is an atom that divides the molecule, the user can specify which side to keep.
Keep the smaller chlorinated benzene ring for growing ethanol
Source code in fegrow/testing/test_general.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
|
test_replace_methyl
#
test_replace_methyl(RGroups, sars_core_scaffold)
Source code in fegrow/testing/test_general.py
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
|
test_replace_methyl_keep_h
#
test_replace_methyl_keep_h(RGroups)
Source code in fegrow/testing/test_general.py
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
|
test_add_smiles_linker
#
test_add_smiles_linker(sars_scaffold_chunk_sdf)
:return:
Source code in fegrow/testing/test_general.py
169 170 171 172 173 174 175 176 177 |
|
test_add_linker_rgroup_first
#
test_add_linker_rgroup_first()
:return:
Source code in fegrow/testing/test_general.py
180 181 182 183 184 185 186 187 188 189 |
|
test_linker_c_first
#
test_linker_c_first()
Mark the C as the first connecting point in the linker
:return:
Source code in fegrow/testing/test_general.py
192 193 194 195 196 197 198 199 200 201 202 |
|
test_linker_o_first
#
test_linker_o_first()
Mark the O as the first connecting point in the linker
:return:
Source code in fegrow/testing/test_general.py
205 206 207 208 209 210 211 212 213 214 215 |
|
test_add_a_linker_check_star
#
test_add_a_linker_check_star(RLinkers, sars_scaffold_sdf)
- load the core
- load the linker
- add the linker to the core
- check if there is a danling R/ atom linker = R1 C R2, 1 C 2, Core-C-1,
:return:
Source code in fegrow/testing/test_general.py
218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
|