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

add checkProfileProvided to utils_nfcore_pipeline #4891

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

mirpedrol
Copy link
Member

Add checkProfileProvided to utils_nfcore_pipeline according to the changes in the pipeline template nf-core/tools#2736

@mirpedrol mirpedrol requested a review from a team as a code owner February 9, 2024 15:33
@mirpedrol mirpedrol requested review from koenbossers, mashehu, adamrtalbot and drpatelh and removed request for a team February 9, 2024 15:33
@@ -21,6 +21,26 @@ nextflow_function {
}
}

test("Test Function checkProfileProvided") {
Copy link
Contributor

Choose a reason for hiding this comment

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

How about a test with a faulty input?

Copy link
Member Author

Choose a reason for hiding this comment

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

I couldn't find a way to provide a workflow.profile in the nf-test docs, nor how to check the content of the warning logging, so I'm not sure how to test a case of failure in this case.

Copy link
Contributor

Choose a reason for hiding this comment

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

Okay, maybe I am thinking too much in a pytest way. 🙂 Good as it is then

@mirpedrol mirpedrol added this pull request to the merge queue Feb 9, 2024
Merged via the queue into nf-core:master with commit db321a7 Feb 9, 2024
14 checks passed
@mirpedrol mirpedrol deleted the update-utils-nfcore-pipeline branch February 9, 2024 19:00
jch-13 pushed a commit to jch-13/modules that referenced this pull request Mar 19, 2024
jennylsmith pushed a commit to RSC-RP/modules that referenced this pull request Mar 20, 2024
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.

2 participants