Skip to content

Commit

Permalink
fixed unnamed arg issue in save of multi conformations
Browse files Browse the repository at this point in the history
  • Loading branch information
npqst committed Jun 26, 2023
1 parent 960412d commit bdc2fd0
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 bdc2fd0

Please sign in to comment.