Skip to content

Commit

Permalink
Support different IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Sep 8, 2024
1 parent cff267f commit 02e2789
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/poped.R
Original file line number Diff line number Diff line change
Expand Up @@ -1052,10 +1052,10 @@ attr(rxUiGet.popedNotfixedSigma, "desc") <- "PopED database $notfixed_sigma"
if (length(.need) > 0) {
if (is.null(a)) {
} else if (is.list(a)) {
if (length(.a[, "ID"]) != 1) {
stop("when optimizing design elements, only one ID in the input data can be used",
call.=FALSE)
}
## if (length(.a[, "ID"]) != 1) {
## stop("when optimizing design elements, only one ID in the input data can be used",
## call.=FALSE)
## }
.a <- setNames(as.vector(.a),colnames(.a))
.a <- lapply(seq_along(a),
function(i) {
Expand Down

0 comments on commit 02e2789

Please sign in to comment.