Skip to content

Commit

Permalink
Update Rebuild_All_Event.py
Browse files Browse the repository at this point in the history
fix: the global list was masked by the BuildEventFollowZone + import problem
  • Loading branch information
fdechaumont committed Nov 29, 2022
1 parent a5d6f9f commit f4be2be
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions LMT/scripts/Rebuild_All_Event.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@

from lmtanalysis.Util import getAllEvents

from lmtanalysis import BuildEventApproachContact, BuildEventOtherContact, BuildEventPassiveAnogenitalSniff, BuildEventHuddling, BuildEventTrain3, BuildEventTrain4, BuildEventTrain2, BuildEventFollowZone, BuildEventRear5, BuildEventCenterPeripheryLocation, BuildEventRearCenterPeriphery, BuildEventFloorSniffing, BuildEventSocialApproach, BuildEventSocialEscape, BuildEventApproachContact,BuildEventOralOralContact, BuildEventApproachRear, BuildEventGroup2, BuildEventGroup3, BuildEventGroup4, BuildEventOralGenitalContact, BuildEventStop, BuildEventWaterPoint, BuildEventMove, BuildEventGroup3MakeBreak, BuildEventGroup4MakeBreak, BuildEventSideBySide, BuildEventSideBySideOpposite, BuildEventDetection, BuildDataBaseIndex, BuildEventWallJump, BuildEventSAP, BuildEventOralSideSequence, CheckWrongAnimal, CorrectDetectionIntegrity, BuildEventNest4, BuildEventNest3, BuildEventGetAway,\
BuildEventFollowZone2
from lmtanalysis import BuildEventApproachContact, BuildEventOtherContact, BuildEventPassiveAnogenitalSniff, BuildEventHuddling, BuildEventTrain3, BuildEventTrain4, BuildEventTrain2, BuildEventFollowZone, BuildEventRear5, BuildEventCenterPeripheryLocation, BuildEventRearCenterPeriphery, BuildEventFloorSniffing, BuildEventSocialApproach, BuildEventSocialEscape, BuildEventApproachContact,BuildEventOralOralContact, BuildEventApproachRear, BuildEventGroup2, BuildEventGroup3, BuildEventGroup4, BuildEventOralGenitalContact, BuildEventStop, BuildEventWaterPoint, BuildEventMove, BuildEventGroup3MakeBreak, BuildEventGroup4MakeBreak, BuildEventSideBySide, BuildEventSideBySideOpposite, BuildEventDetection, BuildDataBaseIndex, BuildEventWallJump, BuildEventSAP, BuildEventOralSideSequence, CheckWrongAnimal, CorrectDetectionIntegrity, BuildEventNest4, BuildEventNest3, BuildEventGetAway


from psutil import virtual_memory
Expand Down Expand Up @@ -98,7 +97,7 @@ class FileProcessException(Exception):
BuildEventSAP
]'''

eventClassList = [BuildEventFollowZone2]
#eventClassList = [BuildEventFollowZone]


def flushEvents( connection ):
Expand Down

0 comments on commit f4be2be

Please sign in to comment.