1
0
Fork
You've already forked mol_parser
0
No description
  • Rust 100%
2025年01月07日 10:27:56 +01:00
assets Initial import 2025年01月07日 10:17:39 +01:00
src Rename function back 2025年01月07日 10:27:56 +01:00
.gitignore Initial import 2025年01月07日 10:17:39 +01:00
Cargo.lock Initial import 2025年01月07日 10:17:39 +01:00
Cargo.toml Initial import 2025年01月07日 10:17:39 +01:00
LICENSE Add readme and license 2025年01月07日 10:25:54 +01:00
README.md Rename function back 2025年01月07日 10:27:56 +01:00

mol_parser

Parses mol2 files

Probably also mol and xyz with minimal changes?

Cargo.toml:

parsemol2 = { git = "https://github.com/ivnsch/mol_parser" }
letfile="assets/benzene.mol2";letmol_res=parse_mol2(&file,1).await;assert!(mol_res.is_ok());letmol=mol_res.unwrap();assert_eq!(12,mol.atoms.len());assert_eq!(12,mol.bonds.len());