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
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
|
test_add_smiles_linker
#
test_add_smiles_linker(sars_scaffold_chunk_sdf)
:return:
Source code in fegrow/testing/test_general.py
187 188 189 190 191 192 193 194 195 |
|
test_add_linker_rgroup_first
#
test_add_linker_rgroup_first()
:return:
Source code in fegrow/testing/test_general.py
198 199 200 201 202 203 204 205 206 207 |
|
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
210 211 212 213 214 215 216 217 218 219 220 |
|
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
223 224 225 226 227 228 229 230 231 232 233 |
|
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
236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
|