-
Notifications
You must be signed in to change notification settings - Fork 708
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
nf-test: utils_nfcore_rnaseq_pipeline tests #1235
nf-test: utils_nfcore_rnaseq_pipeline tests #1235
Conversation
Changes: - Change function name from validateInputSamplesheet to checkSamplesAreConsistent to accurately reflect what the function is doing - Add nf-tests for all functions in UTILS_NFCORE_RNASEQ_PIPELINE
Changes: - Makes nextflow_schema.json a parameter so we can actually set it. Not exposed right now but will be. - Adds basic tests that check for correct running only. Defaults to lots of stuff off. We should extend this to check for more things but we're in a rush right now.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chunky amount of work! Just skimmed and spotted a lingering println
, but that's all.
@@ -507,6 +509,7 @@ def getStarPercentMapped(params, align_log) { | |||
align_log.eachLine { line -> | |||
def matcher = line =~ pattern | |||
if (matcher) { | |||
println matcher[0][1].toFloat() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assume this is going?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blast!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed now.
validateInputSamplesheet
tocheckSamplesAreConsistent
which more accurately reflects what it is doing.PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).nextflow run . -profile debug,test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).