pub fn get_default_output_path<P: AsRef<Path>>(geometry_file: P) -> PathBufExpand description
Get default output filename based on input geometry file
This function generates a default .inp filename from the source geometry file.
To prevent overwriting QM output files when creating templates from them,
it adds a _omecp suffix when the source file has an extension that matches
common QM output formats (.log, .out, .json).
§Examples
abc.xyz→abc.inp(no conflict)abc.log→abc_omecp.inp(prevents overwritingabc.logwhen run)calc.out→calc_omecp.inp(prevents overwritingcalc.outwhen run)result.json→result_omecp.inp(prevents overwritingresult.jsonwhen run)