scout/commands/delete/delete_command.py
def genes(context, build):
    """Delete all genes in the database"""
    LOG.info("Running scout delete genes")
    adapter = context.obj['adapter']

    if build:
        LOG.info("Dropping genes collection for build: %s", build)
    else:
        LOG.info("Dropping genes collection")
        adapter.drop_genes()
def genes(context, build):
    """Delete all genes in the database"""
    LOG.info("Running scout delete genes")
    adapter = context.obj['adapter']

    if build:
        LOG.info("Dropping genes collection for build: %s", build)
    else:
        LOG.info("Dropping genes collection")
        adapter.drop_genes()
def genes ( context , build ) : LOG . info ( "Running scout delete genes" ) adapter = context . obj [ 'adapter' ] if build : LOG . info ( "Dropping genes collection for build: %s" , build ) else : LOG . info ( "Dropping genes collection" ) adapter . drop_genes ( )
Delete all genes in the database
Delete all genes in the database