c5372ad596c1a32174ce0135a61c4025d093fb3e,hicexplorer/hicSumMatrices.py,,main,#Any#,49

Before Change


                    elif chr_element >= len(chromosome_list) and queue[i] is None:
                        thread_done[i] = True
                    else:
                        time.sleep(1)
                if chr_element >= len(chromosome_list):
                    all_threads_done = True
                    for thread in thread_done:
                        if not thread:

After Change


                        if dataFrameMatrix is None:
                            dataFrameMatrix = dataFrameMatrix_
                        else:
                            dataFrameMatrix = pd.concat([dataFrameMatrix, dataFrameMatrix_], ignore_index=True)  // .append(dataFrameMatrix_, ignore_index=True)
                        dataFrameBins_ = None
                        dataFrameMatrix_ = None
                        queue[i] = None
                        process[i].join()
                        process[i].terminate()
                        process[i] = None
                        thread_done[i] = True
                    elif chr_element >= len(chromosome_list) and queue[i] is None:
                        thread_done[i] = True
                if chr_element >= len(chromosome_list):
                    all_threads_done = True
                    for thread in thread_done:
                        if not thread:
                            all_threads_done = False

            hic.save_cool_pandas(args.outFileName, dataFrameBins, dataFrameMatrix)
    else:
        hic = hm.hiCMatrix(args.matrices[0])
        summed_matrix = hic.matrix
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: deeptools/HiCExplorer
Commit Name: c5372ad596c1a32174ce0135a61c4025d093fb3e
Time: 2017-09-08
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/hicSumMatrices.py
Class Name:
Method Name: main


Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: 925c0c5c912b8dfa7cf3d3afdd15b7aadb0c16bd
Time: 2018-01-19
Author: max.lapan@gmail.com
File Name: ch13/wob_click_train.py
Class Name:
Method Name:


Project Name: eth-cscs/reframe
Commit Name: ccaa108a2dd93f92967eb20a47e7559c9144b35f
Time: 2020-03-11
Author: manitaras@cscs.ch
File Name: unittests/test_policies.py
Class Name: TestSerialExecutionPolicy
Method Name: test_sigterm