Skip to content

Commit

Permalink
[188605595]: Send graph even when empty in weight catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
gergness authored and ernestoarbitrio committed Jan 10, 2025
1 parent 420e68c commit 9bca465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/weight.R
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ modifyWeightVariables <- function(x, vars, type = "append") {
## variaous inputs into a list of variables.
if (is.null(vars)) {
# If NULL change type to replace to clear the weight variables
new$graph <- NULL
new$graph <- list()
type <- "replace"
} else {
if (is.variable(vars) || (length(vars) == 1) & !is.character(vars)) {
Expand Down

0 comments on commit 9bca465

Please sign in to comment.