code wiki / (root) / nx_chem_descriptors_test.nx

nx_chem_descriptors_test.nx

buildroot/runtime/nx_chem_descriptors_test.nx

13423 B308 linesdepth 9pulls 13 transitivereach 0 importersview sourcekind gate/prooftopic chem
docsdependenciesstructsconstsfunctions

about

nx_chem_descriptors_test.nx -- C2.7 KAT for HBD/HBA/rotatable bonds + partial Lipinski + partial Veber. expect_exit: 0 license_tier: ORIGINAL

dependencies 6 imports · 0 importers

nx_chem.nx nx_chem_molecule.nx nx_chem_smiles.nx nx_chem_periodic.nx nx_chem_valence.nx nx_chem_descriptors.nx nx_chem_descriptors_test.nx

imports: nx_chem.nxnx_chem_molecule.nxnx_chem_smiles.nxnx_chem_periodic.nxnx_chem_valence.nxnx_chem_descriptors.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main a_water parse_with_h nx_chem_parse_smiles nx_chem_mol_new smi_is_digit nx_chem_mol_atom nx_chem_mol_bond_add nx_chem_mol_bond smi_parse_bracket smi_is_digit ↻ smi_is_upper smi_is_lower smi_bracket_symbol_two_cha smi_bracket_symbol_single_ smi_aromatic_lower_to_z nx_chem_mol_atom_add smi_connect nx_chem_mol_atom ↻ nx_chem_mol_bond_add ↻ nx_chem_mol_bond ↻ smi_aromatic_lower_to_z ↻ smi_is_upper ↻ smi_organic_atom nx_chem_smiles_populate_st nx_chem_compute_implicit_h nx_chem_default_valence nx_chem_atom_bond_summary nx_chem_descriptors_percei nx_chem_count_hbd nx_chem_count_hba nx_chem_count_rotatable_bo nx_chem_descriptors_heavy_ nx_chem_count_aromatic_ato b_methane parse_with_h ↻ nx_chem_count_hbd ↻ nx_chem_count_hba ↻ nx_chem_count_rotatable_bo ↻ c_ethanol

structs

none

consts

none

functions

16func parse_with_h(src: *u8, n: nx_int) -> *MolGraph
26func a_water() -> nx_int
39func b_methane() -> nx_int
53func c_ethanol() -> nx_int
67func d_methylamine() -> nx_int
83func e_ethylamine_rot() -> nx_int
99func f_propylamine_rot() -> nx_int
111func g_benzene() -> nx_int
130func h_cyclohexane() -> nx_int
149func i_lipinski_ethanol_pass() -> nx_int
175func j_peroxide() -> nx_int
189func k_veber_ethanol_pass() -> nx_int
200func l_heavy_atom_count() -> nx_int
216func m_ammonium() -> nx_int
229func n_peroxide_rot() -> nx_int
237func main() -> nx_exit