55a0700a659abde74acd0972922ef563c30e8e2c,pynets/plotting/plot_graphs.py,,plot_community_conn_mat,#Any#Any#Any#Any#Any#Any#,90

Before Change


                    " from runconfig.yaml"
                )
                sys.exit(1)
        stream.close()
        labels = [i[0][labeling_atlas] for i in labels]
    except BaseException:
        pass

After Change


              )
        sys.exit(1)

    if any(isinstance(sub, dict) for sub in labels):
        labels = [i[0][labeling_atlas] for i in labels]

    sorting_array = sorted(
        range(len(community_aff)),
        key=lambda k: community_aff[k])
    sorted_conn_matrix = conn_matrix[sorting_array, :]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


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


Project Name: deepchem/deepchem
Commit Name: 3b3a06ad8402079c2d18718349d5f0f212ac7b81
Time: 2020-12-11
Author: nfrey213@gmail.com
File Name: deepchem/feat/base_classes.py
Class Name: ComplexFeaturizer
Method Name: featurize