"git@developer.sourcefind.cn:OpenDAS/dynamo.git" did not exist on "a48d932e1a43043b6af2bfa404d80fd8b16514ce"
Commit 0cf8b928 authored by Jennifer's avatar Jennifer
Browse files

remove nested definition of local_alignmnet_dir in run_pretrained_openfold.py

parent 26d555d5
...@@ -63,10 +63,7 @@ def precompute_alignments(tags, seqs, alignment_dir, args): ...@@ -63,10 +63,7 @@ def precompute_alignments(tags, seqs, alignment_dir, args):
with open(tmp_fasta_path, "w") as fp: with open(tmp_fasta_path, "w") as fp:
fp.write(f">{tag}\n{seq}") fp.write(f">{tag}\n{seq}")
local_alignment_dir = os.path.join( local_alignment_dir = os.path.join(alignment_dir, tag),
alignment_dir,
os.path.join(alignment_dir, tag),
)
if args.use_precomputed_alignments is None: if args.use_precomputed_alignments is None:
logger.info(f"Generating alignments for {tag}...") logger.info(f"Generating alignments for {tag}...")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment