Skip to content

Commit 328b180

Browse files
authored
add missing set_filter_buried_cutoff method (#75)
* add missing `set_filter_buried_cutoff` method * bump version
1 parent 8c82c38 commit 328b180

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "haddock-restraints"
3-
version = "0.8.4"
3+
version = "0.8.5"
44
edition = "2024"
55
description = "Generate restraints to be used in HADDOCK"
66
license = "MIT"

src/core/interactor.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,15 @@ impl Interactor {
493493
self.filter_buried.unwrap_or(false)
494494
}
495495

496+
/// Sets whether passive residues should be derived from active residues.
497+
///
498+
/// # Arguments
499+
///
500+
/// * `cutoff` - A `f64` value representing the cutoff to filter buried residues.
501+
pub fn set_filter_buried_cutoff(&mut self, cutoff: f64) {
502+
self.filter_buried_cutoff = Some(cutoff);
503+
}
504+
496505
/// Adds a target interactor ID.
497506
///
498507
/// # Arguments

0 commit comments

Comments
 (0)