-
Notifications
You must be signed in to change notification settings - Fork 41
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
Contrasts schema validation #410
base: dev
Are you sure you want to change the base?
Conversation
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 3.0.2. For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation. |
|
} else if (params.contrasts.endsWith(".csv")) { | ||
//csv contrasts file processing | ||
ch_contrast_variables = ch_contrasts_file | ||
.splitCsv(header:true, sep:(params.contrasts.endsWith('csv') ? ',' : '\t')) | ||
.map{ it.tail().first() } | ||
.map{ | ||
tuple('id': it.variable) | ||
} | ||
.unique() | ||
} | ||
|
||
ch_contrast_variables.dump(tag:"ch_contrasts_variables") |
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.
I think we should just get rid of the csv sheet right away. As we support more complex contrasts, csv won't be useful anymore and this is anyway why we decided to move towards yaml.
To close #405 once the issue in the schema plugin is sorted out
PR checklist
nf-core lint
).nf-test test main.nf.test -profile test,docker
).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).