From dead6ab7704abc760d3bd13f09f8036d75e7516b Mon Sep 17 00:00:00 2001
From: Peter
Date: Tue, 23 Feb 2010 17:30:03 +0000
Subject: [PATCH] Fixed typo PDBContructionError -> PDBContructionException in
an error message (found with pylint)
---
Bio/PDB/PDBParser.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Bio/PDB/PDBParser.py b/Bio/PDB/PDBParser.py
index e330de4f739..1f7d10b9c6f 100644
--- a/Bio/PDB/PDBParser.py
+++ b/Bio/PDB/PDBParser.py
@@ -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: