use rustchem::io::read_mol;
use std::fs::File;

fn main() {
    let file = File::open("./test_files/alanine_v3000.mol");

    match file {
        Ok(file) => match read_mol(file) {
            Ok(mol) => println!("{:#?}", mol),
            Err(_err) => panic!("Error parsing file"),
        },
        Err(_err) => panic!("Error opening file"),
    }
}
