mirror of
https://github.com/dnlbauer/WHAM.git
synced 2026-09-10 14:15:31 +00:00
remove some debug statements
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -362,7 +362,7 @@ checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wham"
|
name = "wham"
|
||||||
version = "1.1.0"
|
version = "1.1.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"assert_approx_eq",
|
"assert_approx_eq",
|
||||||
"clap",
|
"clap",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wham"
|
name = "wham"
|
||||||
version = "1.1.0"
|
version = "1.1.1"
|
||||||
authors = ["Daniel Bauer <bauer@cbs.tu-darmstadt.de>"]
|
authors = ["Daniel Bauer <bauer@cbs.tu-darmstadt.de>"]
|
||||||
description = "An implementation of the weighted histogram analysis method"
|
description = "An implementation of the weighted histogram analysis method"
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: wham
|
name: wham
|
||||||
version: "1.1.0"
|
version: "1.1.1"
|
||||||
author: D. Bauer <bauer@cbs.tu-darmstadt.de>
|
author: D. Bauer <bauer@cbs.tu-darmstadt.de>
|
||||||
about: |
|
about: |
|
||||||
wham is a fast implementation of the weighted histogram analysis method (WHAM) written in Rust. It currently supports potential of mean force (PMF) calculations in multiple dimensions at constant temperature.
|
wham is a fast implementation of the weighted histogram analysis method (WHAM) written in Rust. It currently supports potential of mean force (PMF) calculations in multiple dimensions at constant temperature.
|
||||||
|
|||||||
@@ -172,12 +172,10 @@ fn get_convdt_boundaries(timeseries: &[f64], cfg: &Config) -> Vec<(f64, f64)> {
|
|||||||
if first_timestep < cfg.start {
|
if first_timestep < cfg.start {
|
||||||
first_timestep = cfg.start;
|
first_timestep = cfg.start;
|
||||||
}
|
}
|
||||||
println!("{} to {} with dt={}", first_timestep, last_timestep, cfg.convdt);
|
|
||||||
if cfg.convdt == 0.0 {
|
if cfg.convdt == 0.0 {
|
||||||
vec![(0.0, last_timestep)]
|
vec![(0.0, last_timestep)]
|
||||||
} else {
|
} else {
|
||||||
let intervals: usize = ((last_timestep - first_timestep) / cfg.convdt).ceil() as usize;
|
let intervals: usize = ((last_timestep - first_timestep) / cfg.convdt).ceil() as usize;
|
||||||
println!("{:?}", intervals);
|
|
||||||
(1..intervals+1).map(|i| {
|
(1..intervals+1).map(|i| {
|
||||||
i as f64 * cfg.convdt + first_timestep
|
i as f64 * cfg.convdt + first_timestep
|
||||||
}).map(|end| { (first_timestep, end) }).collect()
|
}).map(|end| { (first_timestep, end) }).collect()
|
||||||
|
|||||||
@@ -66,4 +66,4 @@ mod integration {
|
|||||||
let output_len = String::from_utf8_lossy(&output.stdout).len();
|
let output_len = String::from_utf8_lossy(&output.stdout).len();
|
||||||
assert_eq!(output_len, 0);
|
assert_eq!(output_len, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user