Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process afterscript #164

Merged
merged 4 commits into from
Jun 28, 2024
Merged

Process afterscript #164

merged 4 commits into from
Jun 28, 2024

Conversation

Faizal-Eeman
Copy link
Contributor

@Faizal-Eeman Faizal-Eeman commented Jun 26, 2024

Description

Set up process afterscript.

Closes #157

Testing Results

Process log dir - /hot/software/pipeline/pipeline-call-gSV/Nextflow/development/unreleased/mmootor-process-afterscript/gsv_discovery-all-tools-std-input/call-gSV-5.1.0/HG003/log-call-gSV-5.1.0-20240626T195850Z/process-log/

NFTest log - /hot/software/pipeline/pipeline-call-gSV/Nextflow/development/unreleased/mmootor-process-afterscript/sbatch-nftest-20240626T195514Z.log

Checklist

  • I have read the code review guidelines and the code review best practice on GitHub check-list.

  • I have reviewed the Nextflow pipeline standards.

  • The name of the branch is meaningful and well formatted following the standards, using [AD_username (or 5 letters of AD if AD is too long)]-[brief_description_of_branch].

  • I have set up or verified the branch protection rule following the github standards before opening this pull request.

  • I have added my name to the contributors listings in the manifest block in the nextflow.config as part of this pull request, am listed
    already, or do not wish to be listed. (This acknowledgement is optional.)

  • I have added the changes included in this pull request to the CHANGELOG.md under the next release version or unreleased, and updated the date.

  • I have updated the version number in the metadata.yaml and manifest block of the nextflow.config file following semver, or the version number has already been updated. (Leave it unchecked if you are unsure about new version number and discuss it with the infrastructure team in this PR.)

  • I have tested the pipeline on at least one A-mini sample with run_delly = true, run_manta = true, run_qc = true. For run_delly = true, I have tested 'variant_type' set to gSV, gCNV, and both. The paths to the test config files and output directories are captured above in the Testing Results section.

Copy link

Bleep bloop, I am a robot.

Alas, some of the Nextflow configuration tests failed!

test/configtest-F16.json

@ ["process","afterScript"]
+ {"1":"","2":"","3":"","closure":""}
@ ["process","ext"]
+ {"capture_logs":true,"commonAfterScript":{"1":"","2":"","3":"","closure":""},"log_dir":{"1":"ext","2":"ext","3":"ext","closure":"ext"}}

If the above changes are surprising, stop and determine what happened.

If the above changes are expected, there are two ways to fix this:

  1. Automatically: Post a comment starting with "/fix-tests" (without the quotes) and I will update the tests for you (you must review my work afterwards).
  2. Manually: Follow these steps on Confluence.

@Faizal-Eeman
Copy link
Contributor Author

/fix-tests

@Faizal-Eeman Faizal-Eeman marked this pull request as ready for review June 28, 2024 00:59
@Faizal-Eeman Faizal-Eeman requested a review from a team as a code owner June 28, 2024 00:59
Copy link

Bleep bloop, I am a robot.

I have updated all of the failing tests for you with 30c7296. You must review my work before merging this pull request!

Copy link
Member

@nwiltsie nwiltsie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@Faizal-Eeman Faizal-Eeman merged commit d9eb189 into main Jun 28, 2024
7 checks passed
@Faizal-Eeman Faizal-Eeman deleted the mmootor-process-afterscript branch June 28, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use methods.setup_process_afterscript() for process logs
2 participants