comparison cummeRbund_options.py @ 1:f3012521ea79 draft

Uploaded fixed cummeRbund_options.py
author devteam
date Fri, 13 Mar 2015 15:30:17 -0400
parents 587c425b4e76
children ac2ebc60ef5d
comparison
equal deleted inserted replaced
0:587c425b4e76 1:f3012521ea79
1 from galaxy import eggs 1 from galaxy import eggs
2 eggs.require( 'SQLAlchemy' ) 2 eggs.require( 'SQLAlchemy' )
3 eggs.require( 'pysqlite>=2' ) 3 eggs.require( 'pysqlite>=2' )
4 from sqlalchemy import * 4 from sqlalchemy import *
5 from sqlalchemy.sql import and_ 5 from sqlalchemy.sql import and_
6 from sqlalchemy import exceptions as sa_exceptions
7 from sqlalchemy.orm import sessionmaker 6 from sqlalchemy.orm import sessionmaker
8 from sqlalchemy.orm import scoped_session 7 from sqlalchemy.orm import scoped_session
9 8
10 def get_genes( database_path ): 9 def get_genes( database_path ):
11 dburi = 'sqlite:///%s' % database_path 10 dburi = 'sqlite:///%s' % database_path