e0d2e4a9c86b057c58989277a19b98e763766f4b,describe/descriptors/elementaldistribution.py,ElementalDistribution,__init__,#ElementalDistribution#Any#Any#,24

Before Change


                    i_min = np.array(values.values()).min() - 3*std
                    prop_grid["min"] = i_min
                if i_max is None:
                    i_max = np.array(values.values()).max() + 3*std
                    prop_grid["max"] = i_max
                if i_min >= i_max:
                    raise ValueError(

After Change


                        "Property value is outside the specified minimum value."
                    )
                if true_max > prop_grid["max"]:
                    raise ValueError(
                        "Property value is outside the specified maximum value."
                    )
            elif dist_type == "discrete":

                // Check that all values are integer
                if not all(np.issubdtype(item, np.dtype(int).type) for item in values):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: SINGROUP/dscribe
Commit Name: e0d2e4a9c86b057c58989277a19b98e763766f4b
Time: 2018-06-06
Author: lauri.himanen@aalto.fi
File Name: describe/descriptors/elementaldistribution.py
Class Name: ElementalDistribution
Method Name: __init__


Project Name: NifTK/NiftyNet
Commit Name: d77955ba3cbf7c83b3c3d2e13a6709fcefe17a5d
Time: 2017-08-22
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/utilities/user_parameters_parser.py
Class Name:
Method Name: run


Project Name: pandas-dev/pandas
Commit Name: ebd9906e3b489387e500e3e31e53f159bae3cb9b
Time: 2020-10-06
Author: 45562402+rhshadrach@users.noreply.github.com
File Name: pandas/core/aggregation.py
Class Name:
Method Name: transform_dict_like