mirror of
https://github.com/dnlbauer/WHAM.git
synced 2026-09-11 14:45:32 +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]]
|
[[package]]
|
||||||
name = "wham"
|
name = "wham"
|
||||||
version = "0.9.1"
|
version = "0.9.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"GSL 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"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)",
|
"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>()
|
values[i] = split[i+1].parse::<f64>()
|
||||||
.chain_err(|| format!("Failed to parse line {} of window file {}.", linecount, window_file))?;
|
.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) {
|
if is_in_hist_boundaries(&values, cfg) {
|
||||||
let bin_indeces = (0..cfg.dimens).map(|dimen: usize| {
|
let bin_indeces = (0..cfg.dimens).map(|dimen: usize| {
|
||||||
|
|||||||
Reference in New Issue
Block a user