[BioPython] bug in DatabaseRemover class.

Cristian Sebastian Rocha crocha at dc.uba.ar
Tue Jul 27 15:18:50 EDT 2004


Hi,

I just find a little bug in DatabaseRemover class, defined in
BioSQL.Loader module.

The remove() function call the adaptor.execute function as:

self.adaptor.execute(sql, (self.dbid))

Python understand it as an element and not as a tuple of one element.
You must call these function in the following way:

self.adaptor.execute(sql, (self.dbid,))

bye,
Cristian.

-- 
Lic. Cristian S. Rocha
Universidad de Buenos Aires, FCEyN,
Departamento de Computación.


More information about the BioPython mailing list