cleanup + version

This commit is contained in:
Daniel Bauer
2018-11-30 13:06:58 +01:00
parent 7109d27543
commit 99f2c9069d
2 changed files with 1 additions and 6 deletions

2
Cargo.lock generated
View File

@@ -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)",

View File

@@ -148,11 +148,6 @@ fn read_window_file(window_file: &str, cfg: &Config) -> Result<Histogram> {
values[i] = split[i+1].parse::<f64>()
.chain_err(|| format!("Failed to parse line {} of window file {}.", linecount, window_file))?;
}
println!("{:?}", values);
// (1..cfg.dimens).collect::<Vec<usize>>().iter().map(|_| {
// split.next().unwrap().parse::<f64>().unwrap()
// }).collect();
if is_in_hist_boundaries(&values, cfg) {
let bin_indeces = (0..cfg.dimens).map(|dimen: usize| {