ee17dc4a06779050cb4ccf75722ea018ae8d2af2,hicexplorer/hicTransform.py,,main,#,87

Before Change


            trasf_matrix[chr_range[0]:chr_range[1], chr_range[0]:chr_range[1]] = lil_matrix(submatrix)

        hic_ma.setMatrix(trasf_matrix.tocsr(), cut_intervals=hic_ma.cut_intervals)
        hic_ma.save("obs_norm_pearson."+ args.outFileName, pSymmetric=False, pApplyCorrection=False)

    if args.method == "obs_exp":
        for chrname in hic_ma.getChrNames():
            chr_range = hic_ma.getChrBinRange(chrname)

After Change



    if not args.outFileName.endswith(".h5") or args.outFileName.endswith(".cool"):
        log.error("Output filetype not known.")
        log.error("It is: {}".format(args.outFileName))
        log.error("Accepted is .h5 or .cool")
        exit(1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deeptools/HiCExplorer
Commit Name: ee17dc4a06779050cb4ccf75722ea018ae8d2af2
Time: 2018-09-16
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/hicTransform.py
Class Name:
Method Name: main


Project Name: hassony2/kinetics_i3d_pytorch
Commit Name: 9171f92a54c620b097ffc0306d34a6c7e49c93b7
Time: 2017-11-27
Author: yana.hasson@inria.fr
File Name: i3d_tf_to_pt.py
Class Name:
Method Name: transfer_weights


Project Name: moskomule/senet.pytorch
Commit Name: de75ff9237213fba6478fdbbaaff8e97749eab62
Time: 2017-12-17
Author: kfm@clfstudio.com
File Name: utils.py
Class Name: Trainer
Method Name: save