old_contents: # -*- coding: utf-8 -*-
  # Copyright (C) 2009-2010, Luis Pedro Coelho <lpc@cmu.edu>
  # vim: set ts=4 sts=4 sw=4 expandtab smartindent:
  # License: MIT. See COPYING.MIT file in the Waldo distribution
  
  import waldo.mgi.load
  import waldo.go.load
  import waldo.uniprot.load
  import waldo.locate.load
  import waldo.hpa.load
  modules = [
      waldo.go.load,
      waldo.mgi.load,
      waldo.uniprot.load,
      waldo.locate.load,
      waldo.hpa.load,
      ]
  
  session = waldo.backend.create_session ()
  c = session.connection()
  
  # This is only valid for SQLite3, but it makes it much faster
  c.execute('''PRAGMA SYNCHRONOUS=OFF;''')
  for module in modules:
      module.load(create_session=(lambda: session))
  
  
new_contents: # -*- coding: utf-8 -*-
  # Copyright (C) 2009-2010, Luis Pedro Coelho <lpc@cmu.edu>
  # vim: set ts=4 sts=4 sw=4 expandtab smartindent:
  # License: MIT. See COPYING.MIT file in the Waldo distribution
  
  import waldo.mgi.load
  import waldo.go.load
  import waldo.goslim.load
  import waldo.uniprot.load
  import waldo.locate.load
  import waldo.hpa.load
  modules = [
      waldo.go.load,
      waldo.mgi.load,
      waldo.uniprot.load,
      waldo.locate.load,
      waldo.hpa.load,
      waldo.goslim.load,
      ]
  
  session = waldo.backend.create_session ()
  c = session.connection()
  
  # This is only valid for SQLite3, but it makes it much faster
  c.execute('''PRAGMA SYNCHRONOUS=OFF;''')
  for module in modules:
      module.load(create_session=(lambda: session))
  
  
subject: Load goslim