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

Before Change


                else:
                    label = labels[matrix_file]
                args.outFileData.write("//{}\n".format(label))
                args.outFileData.write("\t".join(map(str, x)) + "\n")
                args.outFileData.write("\t".join(map(str, y)) + "\n")

    for ax in axs.reshape(-1):

After Change


            axs[row, col] = ax
            idx += 1
            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: scikit-learn-contrib/categorical-encoding
Commit Name: fc4917ae8a7320fc9a258b50d82a177ed2124a91
Time: 2018-12-21
Author: jcastaldo08@gmail.com
File Name: category_encoders/basen.py
Class Name: BaseNEncoder
Method Name: fit_base_n_encoding


Project Name: dask/dask-ml
Commit Name: bb122b846da894c1797e8c98cd510c0f940aeb43
Time: 2018-12-17
Author: ryan.deak@zefr.com
File Name: tests/compose/test_column_transformer.py
Class Name:
Method Name: test_column_transformer_unk_chunksize