53139c2bcabc43751ad6bf2855cb746a812ed58d,dipy/tracking/utils.py,,connectivity_matrix,#Any#Any#Any#Any#Any#Any#,96

Before Change


        for i, (a, b) in enumerate(endlabels.T):
            mapping.setdefault((a, b), []).append(i)
        if mapping_as_streamlines:
            mapping = {k: [streamlines[i] for i in indices]
                       for k, indices in mapping.items()}
        return matrix, mapping
    else:
        return matrix

After Change


        for i, (a, b) in enumerate(endlabels.T):
            mapping.setdefault((a, b), []).append(i)
        if mapping_as_streamlines:
            mapping = dict((k, [streamlines[i] for i in indices])
                           for k, indices in mapping.iteritems())
        return matrix, mapping
    else:
        return matrix
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 13

Non-data size: 7

Instances


Project Name: nipy/dipy
Commit Name: 53139c2bcabc43751ad6bf2855cb746a812ed58d
Time: 2012-08-03
Author: Bago.Amirbekian@ucsf.edu
File Name: dipy/tracking/utils.py
Class Name:
Method Name: connectivity_matrix


Project Name: has2k1/plotnine
Commit Name: f5d5cb23033425a9dc7ac2147555f5e2a4cba37c
Time: 2014-02-28
Author: electronicstar@126.com
File Name: ggplot/geoms/geom_vline.py
Class Name: geom_vline
Method Name: plot_layer


Project Name: has2k1/plotnine
Commit Name: f5d5cb23033425a9dc7ac2147555f5e2a4cba37c
Time: 2014-02-28
Author: electronicstar@126.com
File Name: ggplot/geoms/geom_hline.py
Class Name: geom_hline
Method Name: plot_layer


Project Name: has2k1/plotnine
Commit Name: f5d5cb23033425a9dc7ac2147555f5e2a4cba37c
Time: 2014-02-28
Author: electronicstar@126.com
File Name: ggplot/geoms/geom_text.py
Class Name: geom_text
Method Name: plot_layer


Project Name: RaRe-Technologies/gensim
Commit Name: 9ca9d9227e4776ea5c5c79e03fffd0673ec551d5
Time: 2015-07-03
Author: cscorley@ua.edu
File Name: gensim/corpora/dictionary.py
Class Name: Dictionary
Method Name: doc2bow


Project Name: has2k1/plotnine
Commit Name: f5d5cb23033425a9dc7ac2147555f5e2a4cba37c
Time: 2014-02-28
Author: electronicstar@126.com
File Name: ggplot/components/linestyles.py
Class Name:
Method Name: assign_linestyles


Project Name: has2k1/plotnine
Commit Name: f5d5cb23033425a9dc7ac2147555f5e2a4cba37c
Time: 2014-02-28
Author: electronicstar@126.com
File Name: ggplot/geoms/stat_function.py
Class Name: stat_function
Method Name: plot_layer


Project Name: has2k1/plotnine
Commit Name: f5d5cb23033425a9dc7ac2147555f5e2a4cba37c
Time: 2014-02-28
Author: electronicstar@126.com
File Name: ggplot/geoms/geom_abline.py
Class Name: geom_abline
Method Name: plot_layer


Project Name: has2k1/plotnine
Commit Name: f5d5cb23033425a9dc7ac2147555f5e2a4cba37c
Time: 2014-02-28
Author: electronicstar@126.com
File Name: ggplot/geoms/geom_now_its_art.py
Class Name: geom_now_its_art
Method Name: plot_layer


Project Name: has2k1/plotnine
Commit Name: f5d5cb23033425a9dc7ac2147555f5e2a4cba37c
Time: 2014-02-28
Author: electronicstar@126.com
File Name: ggplot/geoms/geom_histogram.py
Class Name: geom_histogram
Method Name: plot_layer


Project Name: has2k1/plotnine
Commit Name: f5d5cb23033425a9dc7ac2147555f5e2a4cba37c
Time: 2014-02-28
Author: electronicstar@126.com
File Name: ggplot/geoms/geom_tile.py
Class Name: geom_tile
Method Name: plot_layer


Project Name: has2k1/plotnine
Commit Name: f5d5cb23033425a9dc7ac2147555f5e2a4cba37c
Time: 2014-02-28
Author: electronicstar@126.com
File Name: ggplot/geoms/stat_smooth.py
Class Name: stat_smooth
Method Name: plot_layer


Project Name: has2k1/plotnine
Commit Name: f5d5cb23033425a9dc7ac2147555f5e2a4cba37c
Time: 2014-02-28
Author: electronicstar@126.com
File Name: ggplot/geoms/geom_density.py
Class Name: geom_density
Method Name: plot_layer