1f1610fd790275a53ec691a370cb962220a3773f,framework/CodeInterfaces/PHISICS/PhisicsInterface.py,Phisics,syncPathToLibFile,#Phisics#Any#Any#Any#Any#,93
Before Change
if depletionTree.find(".//input_files") is None:
for line in fileinput.FileInput(depletionFile, inplace=1):
if "<DEPLETION_INPUT>" in line:
line = line.replace("<DEPLETION_INPUT>",
"<DEPLETION_INPUT>" + "\n\t" + "<input_files>" +
libPathFile + "</input_files>")
sys.stdout.write(line)
else:
depletionTree.find(".//input_files").text = libPathFile
depletionTree.write(depletionFile)
After Change
if depletionTree.find(".//input_files") is None:
inputFilesNode = ET.Element("input_files")
inputFilesNode.text = libPathFile
depletionTree.getroot().insert(0,inputFilesNode)
else:
depletionTree.find(".//input_files").text = libPathFile
depletionTree.write(depletionFile)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: idaholab/raven
Commit Name: 1f1610fd790275a53ec691a370cb962220a3773f
Time: 2019-10-15
Author: andrea.alfonsi@inl.gov
File Name: framework/CodeInterfaces/PHISICS/PhisicsInterface.py
Class Name: Phisics
Method Name: syncPathToLibFile
Project Name: mil-tokyo/webdnn
Commit Name: 2571186c26968de784585bdabf0c0979e9608a85
Time: 2017-04-20
Author: y.kikura@gmail.com
File Name: src/graph_builder/optimizer/util.py
Class Name:
Method Name: listup_operator_in_order
Project Name: ilastik/ilastik
Commit Name: c0bb554e4c81cca69c5631c478561028fce78ca8
Time: 2014-02-19
Author: anna.kreshuk@iwr.uni-heidelberg.de
File Name: ilastik/applets/objectClassification/objectClassificationGui.py
Class Name: ObjectClassificationGui
Method Name: _onLabelRemoved