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: 4
Non-data size: 2
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: automl/ParameterImportance
Commit Name: 8e1b03580bfb7b4370554f2fecea5fea2eea3cc0
Time: 2016-12-07
Author: biedenka@informatik.uni-freiburg.de
File Name: scripts/evaluate.py
Class Name:
Method Name:
Project Name: polyaxon/polyaxon
Commit Name: baf588007452d6ca5582ba5b2a7306624e468983
Time: 2018-05-31
Author: mouradmourafiq@gmail.com
File Name: polyaxon/libs/paths/experiment_groups.py
Class Name:
Method Name: get_experiment_group_logs_path
Project Name: polyaxon/polyaxon
Commit Name: baf588007452d6ca5582ba5b2a7306624e468983
Time: 2018-05-31
Author: mouradmourafiq@gmail.com
File Name: polyaxon/libs/paths/experiment_groups.py
Class Name:
Method Name: get_experiment_group_outputs_path