0c7f52ec5283148dda8ee74c056d42b38e188f94,TCP/Software/feature_extract/Code/feature_interfaces.py,,initialize,#Any#,140
Before Change
def initialize(list_of_extractors):
sys.path.append(os.path.abspath(os.environ.get("TCP_DIR") + \
"Software/ingest_tools"))
import feature_extraction_interface
fs = feature_extraction_interface.Internal_Feature_Extractors()
for key_name in fs.feature_ordered_keys:
After Change
// instance.register_extractor()
//else:
// pass
try:
// TODO: Figure out why we have to register the extractor
// both on the extractor and the feature_interface instance
instance.register_extractor()
feature_interface.register_extractor(type(instance))
except Exception as e:
raise(e)
print("Could not register extractor", extractor_name)
print(e.msg)
else:
pass
return list_of_extractor_objects
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
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
Project Name: PPPLDeepLearning/plasma-python
Commit Name: 6343c36a52b8c4b789590bd0211fb13a5eedb0c3
Time: 2017-01-11
Author: asvyatkovskiy@gmail.com
File Name: plasma/conf.py
Class Name:
Method Name:
Project Name: idaholab/raven
Commit Name: f40a8edd60e4d5f3f47e83af4013e0efddf56ebf
Time: 2019-10-18
Author: Jia.Zhou@inl.gov
File Name: framework/CodeInterfaces/RAVEN/RAVENparser.py
Class Name: RAVENparser
Method Name: copySlaveFiles