Skip to content

Commit

Permalink
change comment shorthand
Browse files Browse the repository at this point in the history
  • Loading branch information
rxu17 committed Oct 29, 2024
1 parent d0a2c88 commit e500fe6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/merge_and_uncode_rca_uploads.nf
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ process merge_and_uncode_rca_uploads {
if (production) {
"""
cd /usr/local/src/myscripts/
Rscript merge_and_uncode_rca_uploads.R -c $cohort -v --production --save_synapse -c $comment
Rscript merge_and_uncode_rca_uploads.R -c $cohort -v --production --save_synapse -cmt $comment
"""
}
else {
"""
cd /usr/local/src/myscripts/
Rscript merge_and_uncode_rca_uploads.R -c $cohort -v --save_synapse -c $comment
Rscript merge_and_uncode_rca_uploads.R -c $cohort -v --save_synapse -cmt $comment
"""
}
}
2 changes: 1 addition & 1 deletion scripts/uploads/merge_and_uncode_rca_uploads.R
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ main <- function(){
help="Whether to run in production mode or not (staging mode)."),
make_option(c("-v", "--verbose"), action="store_true", default = FALSE,
help="Print out verbose output on script progress"),
make_option(c("-c", "--comment"), type = "character",
make_option(c("-cmt", "--comment"), type = "character",
help="Comment for new table snapshot version. This must be unique and is tied to the cohort run.")
)
opt <- parse_args(OptionParser(option_list=option_list))
Expand Down

0 comments on commit e500fe6

Please sign in to comment.