"lib/bindings/python/vscode:/vscode.git/clone" did not exist on "ea78a42459e3ea8901273f902679b31ff9dc351d"
Unverified Commit 7f12c2a7 authored by Dingquan Yu's avatar Dingquan Yu Committed by GitHub
Browse files

Update run_pretrained_openfold.py

parent 9a679b31
...@@ -70,16 +70,11 @@ def precompute_alignments(tags, seqs, alignment_dir, args, is_multimer): ...@@ -70,16 +70,11 @@ def precompute_alignments(tags, seqs, alignment_dir, args, is_multimer):
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}")
if is_multimer: local_alignment_dir = os.path.join(
local_alignment_dir = os.path.join(
alignment_dir,
os.path.join(alignment_dir, tag),
)
else:
local_alignment_dir = os.path.join(
alignment_dir, alignment_dir,
os.path.join(alignment_dir, tag), os.path.join(alignment_dir, tag),
) )
if(args.use_precomputed_alignments is None and not os.path.isdir(local_alignment_dir)): if(args.use_precomputed_alignments is None and not os.path.isdir(local_alignment_dir)):
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