Skip to content

Commit

Permalink
Use store_object_as_json method to store parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
nwiltsie committed Dec 22, 2023
1 parent 9489dfe commit 19c00f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/methods.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/bam/bam_pa
includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/methods/common_methods.config"
includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/schema/schema.config"
includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/retry/retry.config"
includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/store_object_as_json/store_object_as_json.config"

methods {

Expand Down Expand Up @@ -129,5 +130,10 @@ methods {
methods.setup_docker_cpus()
methods.verify_input_deletion()
methods.set_recal_tables()

json_extractor.store_object_as_json(
params,
new File("${params.log_output_dir}/params.json")
)
}
}

0 comments on commit 19c00f9

Please sign in to comment.