ae99b536ff30a731a1ae226e124867534a715bd4,hicexplorer/hicPlotDistVsCounts.py,,main,#,297

Before Change


            if args.outFileData is not None:
                if args.perchr and len(args.matrices) > 1:
                    label = labels[matrix_file]
                    args.outFileData.write("//{}\n".format(chrom))

                elif args.perchr:
                    label = chrom
                else:

After Change


            if args.outFileData is not None:
                x_vals= np.stack(x).T
                y_vals= np.stack(y).T
                table_to_export = pd.DataFrame(
                        {"Matrix": matrix_file,
                         "Chromosome": chrom,
                         "Distance": x_vals,
                         "Contacts": y_vals
                        })
                table_to_export.to_csv(args.outFileData, sep="\t")

    for ax in axs.reshape(-1):
        if ax is None:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deeptools/HiCExplorer
Commit Name: ae99b536ff30a731a1ae226e124867534a715bd4
Time: 2018-04-24
Author: 26085589+gtrichard@users.noreply.github.com
File Name: hicexplorer/hicPlotDistVsCounts.py
Class Name:
Method Name: main


Project Name: lingpy/lingpy
Commit Name: 02b1345a9b521639f8966f35b6103fcdecdb8f91
Time: 2013-09-16
Author: mattis.list@posteo.de
File Name: setup.py
Class Name:
Method Name:


Project Name: erikbern/ann-benchmarks
Commit Name: c6418175813007be62406bfb35b42441202b017a
Time: 2018-03-03
Author: maau@itu.dk
File Name: create_website.py
Class Name:
Method Name: build_detail_site