@staticmethod
    def getRootAnnotationsNode():
        rootHierarchyNode = slicer.util.getNode('All Annotations')
        if rootHierarchyNode is None:
            # Create root annotations node
            rootHierarchyNode = slicer.modules.annotations.logic().GetActiveHierarchyNode()
        return rootHierarchyNode
_changeVersionInFile replaces the old version information in a file
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/CIP_Common/CIP/logic/SlicerUtil.py/SlicerUtil.getRootAnnotationsNode--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/python/test/test_release.py/ChangeVersionTests.test_changeVersionInFile