rust_sbml 0.7.0

A parser for SBML
Documentation
1
2
3
4
5
6
7
8
use rust_sbml::ModelRaw;

fn main() {
    let file_str = std::fs::read_to_string("examples/EcoliCore.xml").unwrap();
    let res = ModelRaw::parse(&file_str).unwrap();
    println!("{:?}", res);
    std::fs::write("ecoli_from_memory.xml", res.to_string().unwrap()).unwrap();
}