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
6 changes: 4 additions & 2 deletions abcfold/abcfold.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import configparser
import json
import os
import re
import shutil
import socketserver
import sys
Expand Down Expand Up @@ -156,11 +157,12 @@ def run(args, config, defaults, config_file):
)

if af3_success:
pattern = re.compile(f"^{name}.*", re.IGNORECASE)
af3_out_dir = list(
[
dir_
for dir_ in args.output_dir.glob(f"*{name.lower()}*")
if dir_.is_dir()
for dir_ in args.output_dir.glob("*")
if dir_.is_dir() and pattern.match(dir_.name)
]
)[0]
ao = AlphafoldOutput(af3_out_dir, input_params, name)
Expand Down
1 change: 1 addition & 0 deletions abcfold/alphafold3/run_alphafold3.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def generate_af3_cmd(
--json_path=/root/af_input/{input_json.name} \
--model_dir=/root/models \
--output_dir=/root/af_output \
--db_dir=/root/public_databases \
--num_diffusion_samples {number_of_models}\
--num_recycles {num_recycles}
"""
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "abcfold"
version = "1.0.8"
version = "1.0.9"
description = "Input processing tools for AlphaFold3, Boltz and Chai-1"
readme = "README.md"
license = { text = "BSD License" }
Expand Down
Loading