@staticmethod
    def saveNewNode(vtkMRMLScalarVolumeNode, fileName):
        storageNode = vtkMRMLScalarVolumeNode.CreateDefaultStorageNode()
        storageNode.SetScene(slicer.mrmlScene)
        slicer.mrmlScene.AddNode(storageNode)
        vtkMRMLScalarVolumeNode.SetAndObserveStorageNodeID(storageNode.GetID())
        storageNode.SetFileName(fileName)
        # Save the file
        storageNode.WriteData(vtkMRMLScalarVolumeNode)
This method sends any pending Promise and/or Accepted messages. Prior to
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/CIP_Common/CIP/logic/SlicerUtil.py/SlicerUtil.saveNewNode--crossover with--dataset/ETHPy150Open cocagne/paxos/paxos/practical.py/Acceptor.persisted