<#913 Update PDC_KTH config for strict syntax> Pul...
# configs
g
#913 Update PDC_KTH config for strict syntax Pull request opened by mahesh-panchal --- ## name: pdc_kth about: Update
pdc_kth
in preparation for strict syntax. • Moves cluster name evaluation into parameter using a called closure. • Uses closure for singularity run Options. • clusterOptionsCreator moved into clusterOptions closure. •
switch
swapped to
if
because of strict syntax. • String concatenation changed to add to list then join. • Apply Nextflow code formatter. • Removes
beforeScript
because it's not called before images need to be pulled (i.e. user must do
module load PDC apptainer
themselves anyway).
• Shorten nested if-else with ternary. Please follow these steps before submitting your PR: • If your PR is a work in progress, include
[WIP]
in its title • Your PR targets the
master
branch • You've included links to relevant issues, if any Steps for adding a new config profile: • Add your custom config file to the
conf/
directory • Add your documentation file to the
docs/
directory • Add your custom profile to the
nfcore_custom.config
file in the top-level directory • Add your profile name to the
profile:
scope in
.github/workflows/main.yml
• OPTIONAL: Add your custom profile path and GitHub user name to
.github/CODEOWNERS
(
**/<custom-profile>** @<github-username>
) nf-core/configs