95ab2d1f1cb241580a566644df07b9810e852959,bokeh/charts/_data_source.py,ChartDataSource,get_selections,#ChartDataSource#Any#,154
 
Before Change
                select_map = {dim: sel for dim, sel in izip(self._dims, selections)}
        // make sure we have enough dimensions as required either way
        unmatched = list(set(self._required_dims) - set(select_map.keys()))
        if len(unmatched) > 0:
            raise ValueError("You must provide all required columns assigned to dimensions, no match for: %s"
                             % ", ".join(unmatched))
        else:
            return select_map
    def __getitem__(self, key):
        return self._selections[key]
    def groupby(self, *specs):
After Change
            if selections is None:
                // if no selections are provided, we assume they were provided in order
                select_map = {dim: sel for dim, sel in izip(self._dims, self._data.columns)}
            elif isinstance(selections, dict):
                if len(selections.keys()) != 0:
                    // selections were specified in inputs
                    select_map = selections
            else:
                // selection input type isn"t valid
                raise ValueError("selections input must be provided as: dict(dimension: column) or None")
        // // make sure we have enough dimensions as required either way
        // unmatched = list(set(self._required_dims) - set(select_map.keys()))
        // if len(unmatched) > 0:

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances
 Project Name: bokeh/bokeh
 Commit Name: 95ab2d1f1cb241580a566644df07b9810e852959
 Time: 2015-08-17
 Author: nroth@dealnews.com
 File Name: bokeh/charts/_data_source.py
 Class Name: ChartDataSource
 Method Name: get_selections
 Project Name: dnouri/skorch
 Commit Name: a5f83e8f1e29c62070333d6ce48009e2fdb323b9
 Time: 2017-07-19
 Author: benjamin.bossan@ottogroup.com
 File Name: inferno/net.py
 Class Name: NeuralNet
 Method Name: initialize_callbacks
 Project Name: eth-cscs/reframe
 Commit Name: 2e180b4eda979e3455df916c89cb0295370fc7d7
 Time: 2018-06-07
 Author: rafael.sarmiento@cscs.ch
 File Name: reframe/utility/versioning.py
 Class Name: _RelationalValidator
 Method Name: __init__