def getTopGroups(self):
        # find topGroups
        topGroups = [grp for grp in ls(type='transform') if not grp.getParent() and not grp.getShape()]

        # remove cameras
        newTopGroups = []
        if 2011 >= self.mayaVer:
            newTopGroups = copy.copy(topGroups)
        else:
            newTopGroups = copy(topGroups)
        for cam in topGroups:
            # check for dupes
            for child in cam.getChildren():
                self.check4Dup(child, 1, '. Suggest deleting history')
            if len(cam.getChildren()) == 1 and objectType(cam.getChildren()) == 'camera':
                newTopGroups.remove(cam)
        return newTopGroups
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/core/mayaCore.py/MayaSceneCore.getTopGroups/swapped operands of `>=`