+
Skip to content

Update error message for rocrate_readme_sync #3652

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

Merged
merged 4 commits into from
Jul 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
- Parallelize pytest runs and speed up coverage step ([#3635](https://github.com/nf-core/tools/pull/3635))
- Update gitpod/workspace-base Docker digest to 77021d8 ([#3649](https://github.com/nf-core/tools/pull/3649))
- Update pre-commit hook astral-sh/ruff-pre-commit to v0.12.1 ([#3648](https://github.com/nf-core/tools/pull/3648))
- Update error message for rocrate_readme_sync ([#3652](https://github.com/nf-core/tools/pull/3652))

## [v3.3.1 - Tungsten Tamarin Patch](https://github.com/nf-core/tools/releases/tag/3.3.1) - [2025-06-02]

Expand Down
2 changes: 1 addition & 1 deletion nf_core/pipelines/lint/rocrate_readme_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def rocrate_readme_sync(self):
fixed.append("Mismatch fixed: RO-Crate description updated from `README.md`.")
else:
failed.append(
"The RO-Crate descriptions do not match the README.md content. Use `nf-core lint --fix rocrate_readme_sync` to update."
"The RO-Crate descriptions do not match the README.md content. Use `nf-core pipelines lint --fix rocrate_readme_sync` to update."
)
could_fix = True
else:
Expand Down
2 changes: 1 addition & 1 deletion tests/pipelines/lint/test_rocrate_readme_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_rocrate_readme_sync_fail(self):
results = self.lint_obj.rocrate_readme_sync()
assert len(results.get("failed", [])) == 1
assert (
"The RO-Crate descriptions do not match the README.md content. Use `nf-core lint --fix rocrate_readme_sync` to update."
"The RO-Crate descriptions do not match the README.md content. Use `nf-core pipelines lint --fix rocrate_readme_sync` to update."
in results.get("failed", [])
)

Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载