63eaa62d68cb9126ea7521b44c76499f621a8ab5,src/pyscenic/scenic.py,,prune_targets,#Any#,135

Before Change


    LOGGER.info("{} - Loading databases.")
    def name(fname):
        return os.path.basename(fname).split(".")[0]
    dbs = [open(fname=fname, name=name(fname), nomenclature=nomenclature) for fname in args.database_fname]

    LOGGER.info("{} - Calculating regulomes.")
    motif_annotations_fname = args.annotations_fname.name

After Change




def prune_targets(args):
    if any(args.module_fname.name.endswith(ext) for ext in FILE_EXTENSION2SEPARATOR.keys()):
        LOGGER.info("{} - Creating modules.")
        modules = df2modules(args)
    else:
        LOGGER.info("{} - Loading modules.")
        modules = _load_modules(args.module_fname.name)

    LOGGER.info("{} - Loading databases.")
    nomenclature = modules[0].nomenclature
    dbs = _load_dbs(args.database_fname, nomenclature)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: aertslab/pySCENIC
Commit Name: 63eaa62d68cb9126ea7521b44c76499f621a8ab5
Time: 2018-03-08
Author: vandesande.bram@gmail.com
File Name: src/pyscenic/scenic.py
Class Name:
Method Name: prune_targets


Project Name: dPys/PyNets
Commit Name: 55a0700a659abde74acd0972922ef563c30e8e2c
Time: 2020-10-26
Author: dpisner@utexas.edu
File Name: pynets/plotting/plot_graphs.py
Class Name:
Method Name: plot_community_conn_mat


Project Name: dPys/PyNets
Commit Name: 55a0700a659abde74acd0972922ef563c30e8e2c
Time: 2020-10-26
Author: dpisner@utexas.edu
File Name: pynets/plotting/plot_graphs.py
Class Name:
Method Name: plot_conn_mat