scout/commands/setup/setup_scout.py
def demo(context):
    """Setup a scout demo instance. This instance will be populated with a
       case, a gene panel and some variants.
    """
    LOG.info("Running scout setup demo")
    institute_name = context.obj['institute_name']
    user_name = context.obj['user_name']
    user_mail = context.obj['user_mail']

    adapter = context.obj['adapter']

    LOG.info("Setting up database %s", context.obj['mongodb'])
    
    setup_scout(
        adapter=adapter,
        institute_id=institute_name, 
        user_name=user_name, 
        user_mail = user_mail, 
        demo=True
    )
def demo(context):
    """Setup a scout demo instance. This instance will be populated with a
       case, a gene panel and some variants.
    """
    LOG.info("Running scout setup demo")
    institute_name = context.obj['institute_name']
    user_name = context.obj['user_name']
    user_mail = context.obj['user_mail']

    adapter = context.obj['adapter']

    LOG.info("Setting up database %s", context.obj['mongodb'])
    
    setup_scout(
        adapter=adapter,
        institute_id=institute_name, 
        user_name=user_name, 
        user_mail = user_mail, 
        demo=True
    )
def demo ( context ) : LOG . info ( "Running scout setup demo" ) institute_name = context . obj [ 'institute_name' ] user_name = context . obj [ 'user_name' ] user_mail = context . obj [ 'user_mail' ] adapter = context . obj [ 'adapter' ] LOG . info ( "Setting up database %s" , context . obj [ 'mongodb' ] ) setup_scout ( adapter = adapter , institute_id = institute_name , user_name = user_name , user_mail = user_mail , demo = True )
Setup a scout demo instance. This instance will be populated with a
       case, a gene panel and some variants.
Setup a scout demo instance . This instance will be populated with a case a gene panel and some variants .