From 99f2c9069dfd6b116979880fe2ec93e6422dc906 Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Fri, 30 Nov 2018 13:06:58 +0100 Subject: [PATCH] cleanup + version --- Cargo.lock | 2 +- src/io.rs | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 76baf0b..0e3fd5c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -293,7 +293,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "wham" -version = "0.9.1" +version = "0.9.2" dependencies = [ "GSL 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/src/io.rs b/src/io.rs index f753709..320b63d 100644 --- a/src/io.rs +++ b/src/io.rs @@ -148,11 +148,6 @@ fn read_window_file(window_file: &str, cfg: &Config) -> Result { values[i] = split[i+1].parse::() .chain_err(|| format!("Failed to parse line {} of window file {}.", linecount, window_file))?; } - println!("{:?}", values); - - // (1..cfg.dimens).collect::>().iter().map(|_| { - // split.next().unwrap().parse::().unwrap() - // }).collect(); if is_in_hist_boundaries(&values, cfg) { let bin_indeces = (0..cfg.dimens).map(|dimen: usize| {