def command(self): self.load_wsgi_app() Session.execute('DELETE from plate_tag_plate') Session.execute('DELETE from plate_tag') Session.commit() Session.add_all([PlateTag(name=u'Clog'), PlateTag(name=u'Failure'), PlateTag(name=u'Highlight')]) Session.commit()
def command(self): self.load_wsgi_app() Session.execute('DELETE from well_tag_qlbwell') Session.execute('DELETE from well_tag') Session.commit() Session.add_all([WellTag(name=u'Clog'), WellTag(name=u'NoClog Control'), WellTag(name=u'Rain'), WellTag(name=u'Negative Rain'), WellTag(name=u'Bad Threshold'), WellTag(name=u'Good Well')]) Session.commit()
def command(self): app = self.load_wsgi_app() print "Clearing buffer tables..." Session.execute('DELETE from vendor_enzyme') Session.execute('DELETE from buffer') Session.execute('DELETE from vendor') Session.execute('DELETE from enzyme') Session.commit() self.setup_buffers() self.setup_vendors()