Skip to content

Commit

Permalink
Remove include/exclude from settings
Browse files Browse the repository at this point in the history
These are already available directly on the pharmsol::data::Data structure
  • Loading branch information
mhovd committed Dec 24, 2024
1 parent 2cabcf8 commit 9b0d809
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/algorithms/routines/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,6 @@ impl Settings {
self.config.cache = cache;
}

pub fn set_include(&mut self, include: Option<Vec<String>>) {
self.config.include = include;
}

pub fn set_exclude(&mut self, exclude: Option<Vec<String>>) {
self.config.exclude = exclude;
}

pub fn set_gamlam(&mut self, value: f64) {
self.error.value = value;
}
Expand Down Expand Up @@ -229,10 +221,6 @@ pub struct Config {
pub algorithm: Algorithm,
/// If true (default), cache predicted values
pub cache: bool,
/// Vector of IDs to include
pub include: Option<Vec<String>>,
/// Vector of IDs to exclude
pub exclude: Option<Vec<String>>,
}

impl Default for Config {
Expand All @@ -241,8 +229,6 @@ impl Default for Config {
cycles: 100,
algorithm: Algorithm::NonParametric(crate::algorithms::NonParametric::NPAG),
cache: true,
include: None,
exclude: None,
}
}
}
Expand Down

0 comments on commit 9b0d809

Please sign in to comment.