Skip to content

Commit

Permalink
Merge pull request #21 from brennanaba/save-multi-conformation-to-dir
Browse files Browse the repository at this point in the history
Fixed unnamed arg issue in save of multi conformations
  • Loading branch information
brennanaba authored Jun 26, 2023
2 parents 960412d + bdc2fd0 commit 3e04f1f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ImmuneBuilder/ABodyBuilder2.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ def command_line_interface():
print("Antibody modelled succesfully, starting refinement.", flush=True)

if args.to_directory:
antibody.save_all(args.output,check_for_strained_bonds)
antibody.save_all(args.output,check_for_strained_bonds=check_for_strained_bonds)
if args.verbose:
print("Refinement finished. Saving all outputs to directory", flush=True)
else:
antibody.save(args.output,check_for_strained_bonds)
antibody.save(args.output,check_for_strained_bonds=check_for_strained_bonds)
if args.verbose:
outfile = "ABodyBuilder2_output.pdb" if args.output is None else args.output
print(f"Refinement finished. Saving final structure to {outfile}", flush=True)
4 changes: 2 additions & 2 deletions ImmuneBuilder/NanoBodyBuilder2.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ def command_line_interface():
print("Nanobody modelled succesfully, starting refinement.", flush=True)

if args.to_directory:
antibody.save_all(args.output,check_for_strained_bonds)
antibody.save_all(args.output,check_for_strained_bonds=check_for_strained_bonds)
if args.verbose:
print("Refinement finished. Saving all outputs to directory", flush=True)
else:
antibody.save(args.output,check_for_strained_bonds)
antibody.save(args.output,check_for_strained_bonds=check_for_strained_bonds)
if args.verbose:
outfile = "NanoBodyBuilder2_output.pdb" if args.output is None else args.output
print(f"Refinement finished. Saving final structure to {outfile}", flush=True)
4 changes: 2 additions & 2 deletions ImmuneBuilder/TCRBuilder2.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ def command_line_interface():
print("TCR modelled succesfully, starting refinement.", flush=True)

if args.to_directory:
tcr.save_all(args.output,check_for_strained_bonds)
tcr.save_all(args.output,check_for_strained_bonds=check_for_strained_bonds)
if args.verbose:
print("Refinement finished. Saving all outputs to directory", flush=True)
else:
tcr.save(args.output,check_for_strained_bonds)
tcr.save(args.output,check_for_strained_bonds=check_for_strained_bonds)
if args.verbose:
outfile = "TCRBuilder2_output.pdb" if args.output is None else args.output
print(f"Refinement finished. Saving final structure to {outfile}", flush=True)

0 comments on commit 3e04f1f

Please sign in to comment.