Skip to content
This repository has been archived by the owner on Apr 10, 2022. It is now read-only.

Commit

Permalink
Revert "Revert "Update hisub.R""
Browse files Browse the repository at this point in the history
This reverts commit 31a2ed9.
  • Loading branch information
ShixiangWang committed Feb 18, 2021
1 parent 31a2ed9 commit 8775440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hisub.R
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ collect_params <- function(x) {
message("\t data rows: ", elen)
message("\t esize: ", esize)
if (esize > 500 & elen > 1) {
edata <- edata[c(1, sample(seq_along(edata[-1]), round(250 * elen / esize)))]
message("\t reset esize to: ", esize)
edata <- edata[c(1, sample(2:(elen + 1), round(250 * elen / esize)))]
message("\t reset esize")
}
example_textarea[[y$param_name]] <<- paste(edata, collapse = "\n")
}
Expand Down

0 comments on commit 8775440

Please sign in to comment.