Skip to content

Commit cb8b29f

Browse files
committed
Fixed error when no restratins are provided
1 parent 76feb22 commit cb8b29f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/simulation/lightdock_setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
calculate_anm(ligand, args.anm_lig, DEFAULT_LIG_NM_FILE)
6666

6767
# Parse restraints if any:
68+
receptor_restraints = ligand_restraints = None
6869
if args.restraints:
6970
log.info("Reading restraints from %s" % args.restraints)
7071
restraints = parse_restraints_file(args.restraints)

0 commit comments

Comments
 (0)