Skip to content

Commit

Permalink
Fixed typo PDBContructionError -> PDBContructionException in an error…
Browse files Browse the repository at this point in the history
… message (found with pylint)
  • Loading branch information
peterjc committed Feb 23, 2010
1 parent 2586e84 commit dead6ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Bio/PDB/PDBParser.py
Expand Up @@ -156,8 +156,9 @@ def _parse_coordinates(self, coords_trailer):
except:
#Should we allow parsing to continue in permissive mode?
#If so what coordindates should we default to? Easier to abort!
raise PDBContructionError("Invalid or missing coordinate(s) at line %i." \
% global_line_counter)
raise PDBContructionException(\
"Invalid or missing coordinate(s) at line %i." \
% global_line_counter)
coord=numpy.array((x, y, z), 'f')
# occupancy & B factor
try:
Expand Down

0 comments on commit dead6ab

Please sign in to comment.