Skip to content

Commit

Permalink
Add ChaiOutput integration and update output handling in run function
Browse files Browse the repository at this point in the history
  • Loading branch information
hllelli2 committed Jan 15, 2025
1 parent e2de62e commit d305ccb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions abcfold/abcfold.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
prediction_argparse_util)
from abcfold.processoutput.alphafold3 import AlphafoldOutput
from abcfold.processoutput.boltz import BoltzOutput
from abcfold.processoutput.chai import ChaiOutput
from abcfold.run_alphafold3 import run_alphafold3

logger = setup_logger()
Expand Down Expand Up @@ -101,7 +102,7 @@ def run(args, config, defaults, config_file):

# Need to find the name of the af3_dir
af3_out_dir = list(args.output_dir.iterdir())[0]
_ = AlphafoldOutput(af3_out_dir)
_ = AlphafoldOutput(af3_out_dir, name)

if args.boltz1:
from abcfold.run_boltz import run_boltz
Expand All @@ -112,7 +113,7 @@ def run(args, config, defaults, config_file):
save_input=args.save_input,
)
bolt_out_dir = list(args.output_dir.glob("boltz_results*"))[0]
_ = BoltzOutput(bolt_out_dir)
_ = BoltzOutput(bolt_out_dir, name)

if args.chai1:
from abcfold.run_chai1 import run_chai
Expand All @@ -125,7 +126,7 @@ def run(args, config, defaults, config_file):
number_of_models=args.number_of_models,
)

# add chai output processing here
_ = ChaiOutput(chai_output_dir, name)


def main():
Expand Down

0 comments on commit d305ccb

Please sign in to comment.