Skip to content

Commit

Permalink
kwargs correction fixed when opt is not in kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
juditzador committed Aug 20, 2022
1 parent 855408c commit 3bfaf31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kinbot/reader_gauss.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ def correct_kwargs(outfile, kwargs):
@param kwargs: Original keyword arguments.
@return kwargs: New keyword arguments.
"""
if 'opt' not in kwargs:
return kwargs

from kinbot.utils import tail
outf_end = tail(outfile, 10)
# Use cartesian coordinates when internal ones fail.
Expand Down

0 comments on commit 3bfaf31

Please sign in to comment.