That's the function I was talking about. The relevant code is:
try:
sqlInterface('SELECT * FROM %(grpTab)s LIMIT 1'%locals())
except ProgrammingError:
createQry = "CREATE TABLE %(grpTab)s (geneid varchar(80));"%locals()
Why would the ProgrammingError not get caught there? |