src/pybel/io/hetionet/hetionet.py
def from_hetionet_file(file) -> BELGraph:
    """Get Hetionet from a JSON file."""
    logger.info('parsing json from %s', file)
    j = json.load(file)
    logger.info('converting hetionet dict to BEL')
    return from_hetionet_json(j)
Get Hetionet from a JSON file.
Get Hetionet from a JSON file.
Get Hetionet from a JSON file .
def from_hetionet_file(file) -> BELGraph:
    logger.info('parsing json from %s', file)
    j = json.load(file)
    logger.info('converting hetionet dict to BEL')
    return from_hetionet_json(j)
def from_hetionet_file ( file ) -> BELGraph : logger . info ( 'parsing json from %s' , file ) j = json . load ( file ) logger . info ( 'converting hetionet dict to BEL' ) return from_hetionet_json ( j )
Get Hetionet from a JSON file.
Get Hetionet from a JSON file .
"""Get Hetionet from a JSON file."""
file