e7356fb0cfd38751274d12c2930cac0f80f8f882,Software/Scratch/GoPiGo3Scratch.py,,handle_GoPiGo3_Sensor_msg,#,467
Before Change
sensors = {}
regObj = compiled_regexSensors.match(msg.strip().lower())
if regObj is None:
if en_debug:
print ("GoPiGo3 Sensor command is not recognized")
return None
// for i in range(len(regObj.groups())+1):
// print ("{}: {}".format(i,regObj.group(i)))
After Change
sensors = handle_button(regObj)
elif regObj.group(SENSOR_DHT_GROUP):
logger.info("dht")
sensors = handle_dht(regObj)
elif regObj.group(SENSOR_LOUDNESS_GROUP):
logger.info("loudness")
sensors = handle_loudness(regObj)
return sensors
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: DexterInd/GoPiGo3
Commit Name: e7356fb0cfd38751274d12c2930cac0f80f8f882
Time: 2019-05-29
Author: cleoqc1124@gmail.com
File Name: Software/Scratch/GoPiGo3Scratch.py
Class Name:
Method Name: handle_GoPiGo3_Sensor_msg
Project Name: DexterInd/GoPiGo3
Commit Name: e7356fb0cfd38751274d12c2930cac0f80f8f882
Time: 2019-05-29
Author: cleoqc1124@gmail.com
File Name: Software/Scratch/GoPiGo3Scratch.py
Class Name:
Method Name: handle_GoPiGo3_Sensor_msg
Project Name: Pinafore/qb
Commit Name: df1dd9b108f3cd7d5130e7f654ea099021c7a2b3
Time: 2017-05-24
Author: ski.rodriguez@gmail.com
File Name: qanta/guesser/elasticsearch.py
Class Name: ElasticSearchIndex
Method Name: build_large_docs
Project Name: Pinafore/qb
Commit Name: df1dd9b108f3cd7d5130e7f654ea099021c7a2b3
Time: 2017-05-24
Author: ski.rodriguez@gmail.com
File Name: qanta/guesser/elasticsearch.py
Class Name: ElasticSearchIndex
Method Name: build_many_docs