+
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 @@ -52,6 +52,7 @@
- Ontology fix comment yaml ([#3502](https://github.com/nf-core/tools/pull/3502))
- Bugfix - add back logo to the README ([#3504](https://github.com/nf-core/tools/pull/3504))
- Update dead link ([#3505](https://github.com/nf-core/tools/pull/3505))
- Changing retrieval of file extension from EDAM ([#3512](https://github.com/nf-core/tools/pull/3512))

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

Expand Down
8 changes: 6 additions & 2 deletions nf_core/modules/modules_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ def load_edam():
for line in response.content.splitlines():
fields = line.decode("utf-8").split("\t")
if fields[0].split("/")[-1].startswith("format"):
extension = fields[1].lower().split(" ")[0]
edam_formats[extension] = (fields[0], fields[1]) # URL, name
# We choose an already provided extension
if fields[14]:
extensions = fields[14].split("|")
for extension in extensions:
if extension not in edam_formats:
edam_formats[extension] = (fields[0], fields[1]) # URL, name
return edam_formats
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载