Fixing a bug in LocationVar.groovy: to get the string value during analysis we need...
[smartthings-infrastructure.git] / Extractor / ExtractorScript.py
index e2aa123d4156d26d9e74655806aa51fae2e0b111..725f267acb7cb9cc1df8181a718c7010737b6e24 100644 (file)
@@ -1147,6 +1147,8 @@ def ExtractEvents(extractedEvents):
 def CheckIfOnlyTouchEvents():
        #Check and throw an error if it is all touch events
        #This is called Direct-Direct interaction and we do not model-check for this case
+       # TODO: Commenting out this code since we do this in the analysis itself
+       '''
        onlyTouchEvents = True
        for item in eventList:
                if item != "nfcTouch" and item != "app" and item != "button":
@@ -1157,6 +1159,7 @@ def CheckIfOnlyTouchEvents():
                extractError.write("Direct-Direct Interaction detected: we are skipping this pair...\n")
                extractError.close()
                raise Exception("\n\nDirect-Direct Interaction detected: we are skipping this pair...\n\n")
+       '''
 
 
 #Extract objects to call functions from App1