-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'remindmodel:develop' into deltaCap_for_capCum
- Loading branch information
Showing
244 changed files
with
3,509 additions
and
336,041 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env Rscript | ||
|
||
# make sure that files are not too big | ||
maxfilesize <- function(max) { | ||
files <- union(system("git ls-tree -r HEAD --name-only", intern = TRUE), | ||
system("git diff --cached --name-only", intern = TRUE)) | ||
out <- data.frame(files = files, size = round(file.size(files) / 1024, 2)) | ||
out <- out[!is.na(out$size), ] | ||
out <- out[out$size > max, ] | ||
if (nrow(out) > 0) { | ||
stop(nrow(out), " files with size > ", max, "kB detected: \n", | ||
paste0(out$files, " (", out$size, "kB)", collapse = "\n")) | ||
} | ||
message("All files are smaller than ", max, "kB\n") | ||
} | ||
|
||
maxfilesize(250) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,3 +79,4 @@ runtime.rds | |
# ignore slurm logs | ||
slurm-[0-9]*.log | ||
slurm-[0-9]*.out | ||
calibration_results/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.