mirror of
https://github.com/dnlbauer/WHAM.git
synced 2026-09-10 22:25:31 +00:00
cleanup + version
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -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)",
|
||||
|
||||
@@ -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| {
|
||||
|
||||
Reference in New Issue
Block a user