v2.4 - Cobolt Koala
This release started off as a patch release to fix some errors introduced in 2.3 (eg. pipeline email template errors). However, it slowly collected enough new features to warrant a proper minor release of its own.
Many thanks to everyone who contributed!
Full Changelog: 2.3.2...2.4
Template
- ✨ Add actions workflow to respond to
@nf-core-bot fix lintingcomments on pipeline PRs - Fix Prettier formatting bug in completion email HTML template (#1509)
- Fix bug in pipeline readme logo URL
- Set the default DAG graphic output to HTML to have a default that does not depend on Graphviz being installed on the host system (#1512).
- Removed retry strategy for AWS tests CI, as Nextflow now handles spot instance retries itself
- Add
.prettierignorefile to stop Prettier linting tests from running over test files - Made module template test command match the default used in
nf-core modules create-test-yml(#1562) - Removed black background from Readme badges now that GitHub has a dark mode, added Tower launch badge.
- Don't save md5sum for
versions.ymlwhen runningnf-core modules create-test-yml(#1511) - Read entire lines when sniffing the samplesheet format (fix #1561)
General
- ✨ Add actions workflow to respond to
@nf-core-bot fix lintingcomments on nf-core/tools PRs - Use
$XDG_CONFIG_HOMEor~/.config/nf-coreinstead of~/.nfcorefor API cache (the latter can be safely deleted) - Consolidate GitHub API calls into a shared function that uses authentication from the
ghGitHub cli tool orGITHUB_AUTH_TOKENto avoid rate limiting (#1499) - Add an empty line to
modules.json,params.jsonandnextflow-schema.jsonwhen dumping them to avoid prettier errors. - Remove empty JSON schema definition groups to avoid usage errors (#1419)
- Bumped the minimum version of
richfromv10tov10.7.0
Modules
- ✨ Add a new command
nf-core modules mulledwhich can generate the name for a multi-tool container image. - ✨ Add a new command
nf-core modules testwhich runs pytests locally. - ✨ Print include statement to terminal when
modules install(#1520) - Allow follow links when generating
test.ymlfile withnf-core modules create-test-yml(1570) - Escaped test run output before logging it, to avoid a rich
MarkupError
Linting
- Don't allow a
.nf-core.yamlfile, should be.yml(#1515). shellblocks now recognised to avoid errorwhen: condition has too many lines(#1557)- Fixed error when using comments after
inputtuple lines (#1542) - Don't lint the
shellblock whenscriptis used (1558) - Check that
templateis used inscriptblocks - Tweaks to CLI output display of lint results