We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bf10e1 commit 26a50d1Copy full SHA for 26a50d1
pdbfixer/pdbfixer.py
@@ -1263,6 +1263,10 @@ def main():
1263
if options.residues:
1264
if options.verbose: print('Finding missing residues...')
1265
fixer.findMissingResidues()
1266
+ for residueNames in fixer.missingResidues.values():
1267
+ for residueName in residueNames:
1268
+ if residueName not in fixer.templates:
1269
+ raise(KeyError("Cannot find residue %s in template library!" % residueName))
1270
else:
1271
fixer.missingResidues = {}
1272
if options.nonstandard:
0 commit comments