koth-ms 0.12.0

High-performance LC-MS feature finder for timsTOF and mzML data
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Parse tuned feature-finder and alignment configs before a release.
fn main() -> Result<(), Box<dyn std::error::Error>> {
    for path in std::env::args().skip(1) {
        let p = std::path::Path::new(&path);
        if p.file_name()
            .unwrap()
            .to_string_lossy()
            .starts_with("koth_align")
        {
            koth_ms::config::AlignConfig::from_toml(p)?;
        } else {
            koth_ms::config::KothConfig::from_toml(p)?;
        }
        println!("parsed {}", path);
    }
    Ok(())
}