d9bcc35243068190b7bcd6e60ed1a48237e225db,core/eolearn/core/core_tasks.py,AddFeature,__init__,#AddFeature#Any#,114
Before Change
:type feature: (FeatureType, feature_name) or FeatureType
def __init__(self, feature):
self.feature_type, self.feature_name = list(self._parse_features(feature))[0]
def execute(self, eopatch, data):
Adds the feature and returns the EOPatch.
After Change
:type feature: (FeatureType, feature_name) or FeatureType
def __init__(self, feature):
self.feature_type, self.feature_name = next(iter(self._parse_features(feature)))
def execute(self, eopatch, data):
Adds the feature and returns the EOPatch.
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: sentinel-hub/eo-learn
Commit Name: d9bcc35243068190b7bcd6e60ed1a48237e225db
Time: 2018-08-07
Author: matej.aleksandrov@sinergise.com
File Name: core/eolearn/core/core_tasks.py
Class Name: AddFeature
Method Name: __init__
Project Name: scikit-optimize/scikit-optimize
Commit Name: 44be9703a0744caf78b8b61319be0db281e91d6a
Time: 2018-04-06
Author: scott_graham@bose.com
File Name: skopt/space/space.py
Class Name: Space
Method Name: from_yaml
Project Name: analysiscenter/batchflow
Commit Name: f8ed9e2f9f37473e5fe602838de516345f8f1698
Time: 2020-02-06
Author: a.kozhevin@analysiscenter.org
File Name: batchflow/research/named_expr.py
Class Name: REP
Method Name: get
Project Name: matplotlib/matplotlib
Commit Name: cba3ffd1abf8de2698cdffe867671d87ce8f744a
Time: 2018-03-21
Author: 2836374+timhoffm@users.noreply.github.com
File Name: lib/matplotlib/table.py
Class Name: Table
Method Name: _auto_set_font_size