Skip to content

Commit 0489d7e

Browse files
authored
Merge pull request #55 from seqeralabs/seqera-ai/20251125-021026-fix-biopython-version
Fix BioPython version retrieval in EXTRACT_TARGET_SEQUENCES
2 parents 9ecbef9 + e56e1c7 commit 0489d7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/local/extract_target_sequences.nf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ process EXTRACT_TARGET_SEQUENCES {
1919
import sys
2020
import json
2121
from pathlib import Path
22+
import Bio
2223
from Bio import PDB
2324
from Bio.PDB import PDBIO, MMCIFParser, PDBParser
2425
@@ -109,7 +110,7 @@ process EXTRACT_TARGET_SEQUENCES {
109110
with open("versions.yml", "w") as f:
110111
f.write("\\"${task.process}\\":\\n")
111112
f.write(" python: " + sys.version.split()[0] + "\\n")
112-
f.write(" biopython: " + PDB.__version__ + "\\n")
113+
f.write(" biopython: " + Bio.__version__ + "\\n")
113114
"""
114115

115116
stub:

0 commit comments

Comments
 (0)