INNER CODE UNIT · Python

drop

pybel/pybel · src/pybel/cli.py:419

def drop(manager: Manager):
    """Drop the database."""
    manager.drop_all()


@manage.command()
@click.option("-v", "--debug", is_flag=True)
@click.pass_obj
def examples(manager: Manager, debug: bool):
    """Load examples to the database."""
    level = logging.DEBUG if debug else logging.INFO
    logging.basicConfig(level=level)
    logging.getLogger("pybel").setLevel(level)

    for graph in (
        sialic_acid_graph,
        statin_graph,
        homology_graph,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…