0c7f52ec5283148dda8ee74c056d42b38e188f94,TCP/Software/ingest_tools/feature_extraction_interface.py,Internal_Feature_Extractors,__init__,#Internal_Feature_Extractors#,96

Before Change


            if x == None:
                x = ""
            feat_dict["doc"] = x
            exec("sys.path.append(os.path.abspath(os.environ.get("TCP_DIR") + "Software/feature_extract")); import Code; from Code import * ; from Code.extractors import * ; import inspect; x = inspect.getmembers(Code.extractors.%s)" % (feat_name))
            feat_dict["internal"] = "false"
            for member_name,member_val in x:
                if member_name == "internal_use_only":
                    if member_val == True:

After Change


        for (feat_name,feat_dict) in self.features_tup_list:
            d = {}
            from ..feature_extract.Code import extractors
            feature = getattr(extractors, feat_name)
            doc = getattr(feature, "__doc__", "")
            //exec("sys.path.append(os.path.abspath(os.environ.get("TCP_DIR") + "Software/feature_extract")); import Code; from Code import * ; from Code.extractors import * ; x = Code.extractors.%s.__doc__" % str(feat_name), globals(), d)
            //print x
            feat_dict["doc"] = doc
            
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: cesium-ml/cesium
Commit Name: 0c7f52ec5283148dda8ee74c056d42b38e188f94
Time: 2015-01-12
Author: a.crellinquick@gmail.com
File Name: TCP/Software/ingest_tools/feature_extraction_interface.py
Class Name: Internal_Feature_Extractors
Method Name: __init__


Project Name: cesium-ml/cesium
Commit Name: 8b6ec5642d102fea008c5fa3846a5e2007caa707
Time: 2015-02-11
Author: stefan@sun.ac.za
File Name: mltsp/TCP/Software/feature_extract/Code/feature_interfaces.py
Class Name:
Method Name: initialize


Project Name: cesium-ml/cesium
Commit Name: 0c7f52ec5283148dda8ee74c056d42b38e188f94
Time: 2015-01-12
Author: a.crellinquick@gmail.com
File Name: TCP/Software/feature_extract/Code/feature_interfaces.py
Class Name:
Method Name: initialize