code wiki / (root) / nx_supplement_csv.nx

nx_supplement_csv.nx

buildroot/runtime/nx_supplement_csv.nx

3060 B86 linesdepth 13pulls 20 transitivereach 0 importersview sourcekind tooltopic supplement
docsdependenciesstructsconstsfunctions

about

nx_supplement_csv.nx -- C6.1 CLI variant emitting CSV instead of JSON. For lab analysts who work in Excel rather than LIMS. USAGE: nx_supplement_csv <cal-file-or-dash> <peak1> [peak2] ... OUTPUT: One CSV header line, then one row per match across all samples. Pipe directly to file -> open in Excel. EXIT CODE: Total banned detections across all samples.

dependencies 11 imports · 0 importers

nx_chem.nx nx_chem_molecule.nx nx_chem_smiles.nx nx_chem_periodic.nx nx_chem_valence.nx nx_chem_mass.nx nx_chem_isotope_pattern.nx nx_chem_adulterant_db.nx nx_chem_peak_list.nx nx_chem_report_json.nx nx_supplement_csv.nx

diagram shows first 10 each side; +1 more imports, +0 more importers in the complete lists below.

imports: nx_chem.nxnx_chem_molecule.nxnx_chem_smiles.nxnx_chem_periodic.nxnx_chem_valence.nxnx_chem_mass.nxnx_chem_isotope_pattern.nxnx_chem_adulterant_db.nxnx_chem_peak_list.nxnx_chem_report_json.nxnx_chem_report_csv.nx

imported by: nobody (leaf or entry point)

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

main nx_chem_adulterant_db_seed nx_chem_atomic_data_table_ nx_chem_adulterant_db_new sys_mmap sys_mmap ↻ nx_chem_adulterant_seed_sm nx_chem_adulterant_db_add 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_mol_monoisotopic_m nx_chem_mol_mh_plus_q4 nx_chem_mol_monoisotopic_m ↻ nx_chem_halogen_signature nx_chem_isotope_m1_q4 nx_chem_isotope_m2_q4 nx_chem_adulterant_name

structs

none

consts

none

functions

27func process_one_csv(db: *AdulterantDB, peak_path: *u8) -> nx_int
54func main(argc: i64, argv: *i64) -> i64