Skip to content

Commit

Permalink
Merge pull request #331 from uclahs-cds/jsalmingo-add-param-dump
Browse files Browse the repository at this point in the history
Add method to dump params object
  • Loading branch information
kiarod authored Aug 6, 2024
2 parents a14b307 + 3057e57 commit ddd326a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Update Nextflow configuration test workflows
- Update README.md to match template

### Added
- Add `params` object dump

## [10.0.0] - 2024-03-29
### Added
- Add Action to generate documentation in GitHub Pages
Expand Down
2 changes: 2 additions & 0 deletions config/methods.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ includeConfig "../external/nextflow-config/config/csv/csv_parser.config"
includeConfig "../external/nextflow-config/config/methods/common_methods.config"
includeConfig "../external/nextflow-config/config/retry/retry.config"
includeConfig "../external/nextflow-config/config/schema/schema.config"
includeConfig "../external/nextflow-config/config/store_object_as_json/store_object_as_json.config"

methods {
check_aligner = {
Expand Down Expand Up @@ -218,6 +219,7 @@ methods {
methods.check_aligner()
methods.set_resources_allocation()
methods.setup_docker_cpus()
json_extractor.store_object_as_json(params, new File("${params.log_output_dir}/nextflow-log/params.json"))
retry.setup_retry()
}
}

0 comments on commit ddd326a

Please sign in to comment.