Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/naobservatory/mgs-workflow
Browse files Browse the repository at this point in the history
…into harmon_fix_gh_actions_test
  • Loading branch information
harmonbhasin committed Dec 3, 2024
2 parents 8d40459 + 829e2d4 commit 222946d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions workflows/run.nf
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ workflow RUN {
time_ch = Channel.of(start_time_str + "\n").collectFile(name: "time.txt")
version_ch = Channel.fromPath("${projectDir}/pipeline-version.txt")
index_params_ch = Channel.fromPath("${params.ref_dir}/input/index-params.json")
.map { file -> file.copyTo("${workDir}/params-index.json") }
.map { file -> file.copyTo("${params.base_dir}/work/params-index.json") }
index_pipeline_version_ch = Channel.fromPath("${params.ref_dir}/logging/pipeline-version.txt")
.map { file -> file.copyTo("${workDir}/pipeline-version-index.txt") }
.map { file -> file.copyTo("${params.base_dir}/work/pipeline-version-index.txt") }
publish:
// Saved inputs
index_params_ch >> "input"
Expand Down
4 changes: 2 additions & 2 deletions workflows/run_validation.nf
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ workflow RUN_VALIDATION {
time_ch = Channel.of(start_time_str + "\n").collectFile(name: "time.txt")
version_ch = Channel.fromPath("${projectDir}/pipeline-version.txt")
index_params_ch = Channel.fromPath("${params.ref_dir}/input/index-params.json")
.map { file -> file.copyTo("${workDir}/params-index.json") }
.map { file -> file.copyTo("${params.base_dir}/work/params-index.json") }
index_pipeline_version_ch = Channel.fromPath("${params.ref_dir}/logging/pipeline-version.txt")
.map { file -> file.copyTo("${workDir}/pipeline-version-index.txt") }
.map { file -> file.copyTo("${params.base_dir}/work/pipeline-version-index.txt") }
publish:
// Saved inputs
index_params_ch >> "input"
Expand Down

0 comments on commit 222946d

Please sign in to comment.