+
Skip to content
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 @@ -48,6 +48,7 @@
- chore(deps): update dependency textual to v2 ([#3471](https://github.com/nf-core/tools/pull/3471))
- Install subworkflows with modules from different remotes ([#3083](https://github.com/nf-core/tools/pull/3083))
- chore(deps): update github actions ([#3498](https://github.com/nf-core/tools/pull/3498))
- Ontology fix comment yaml ([#3502](https://github.com/nf-core/tools/pull/3502))

## [v3.2.0 - Pewter Pangolin](https://github.com/nf-core/tools/releases/tag/3.2.0) - [2025-01-27]

Expand Down
8 changes: 4 additions & 4 deletions nf_core/modules/lint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,11 @@ def update_meta_yml_file(self, mod):
for ontology, ext in expected_ontologies_o:
if ontology not in current_ontologies_o:
corrected_meta_yml["output"][i][ch_name][j][element_name]["ontologies"].append(
{"edam": ontology}
ruamel.yaml.comments.CommentedMap({"edam": ontology})
)
corrected_meta_yml["output"][i][ch_name][j][element_name][
"ontologies"
].yaml_add_eol_comment(f"{edam_formats[ext][1]}", -1)
corrected_meta_yml["output"][i][ch_name][j][element_name]["ontologies"][
-1
].yaml_add_eol_comment(f"{edam_formats[ext][1]}", key="edam")

# Add bio.tools identifier
for i, tool in enumerate(corrected_meta_yml["tools"]):
Expand Down
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载