Skip to content

Commit 72da0f6

Browse files
Extractor cleanup: Lets test tomorrow!
1 parent 949ce06 commit 72da0f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/extractor_functions.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ extract_indicators.bgms <- function(bgms_object) {
8787
extract_indicators.bgmCompare <- function(bgms_object) {
8888
arguments = extract_arguments(bgms_object)
8989

90-
if(arguments$difference_selection & arguments$save) {
90+
if(arguments$difference_selection) {
9191
pairwise_difference_indicator = bgms_object$pairwise_difference_indicator
9292
if(arguments$independent_thresholds == FALSE) {
9393
main_difference_indicator = bgms_object$main_difference_indicator
@@ -256,7 +256,7 @@ extract_pairwise_interactions.bgms <- function(bgms_object) {
256256
num_vars <- arguments$num_variables
257257
var_names <- arguments$data_columnnames
258258

259-
if(!is.null(bgms_object$raw_samples) || arguments$save == TRUE) {
259+
if(!is.null(bgms_object$raw_samples)) {
260260
nchains = length(bgms_object$raw_samples$pairwise)
261261
mat = NULL
262262
mats <- bgms_object$raw_samples$pairwise

0 commit comments

Comments
 (0)