00553dec7199d515567c81bc7b0b9b91740b99d6,framework/PostProcessors/RavenOutput.py,RavenOutput,collectOutput,#RavenOutput#Any#Any#,202

Before Change


      @ In, output, dataObjects, The object where we want to place our computed results
      @ Out, None
    
    if finishedJob.getEvaluation() == -1:
      self.raiseAnError(RuntimeError, "No available Output to collect (Run probably is not finished yet)")
    realizations = finishedJob.getEvaluation()[1]["realizations"]
    for real in realizations:
      for key in output.getParaKeys("inputs"):
        if key not in real["inputs"].keys():
          self.raiseAnError(RuntimeError, "Requested input variable "+key+" has not been extracted. Check the consistency of your input")

After Change


      @ In, output, dataObjects, The object where we want to place our computed results
      @ Out, None
    
    evaluation = finishedJob.getEvaluation()
    if isinstance(evaluation, Runners.Error):
      self.raiseAnError(RuntimeError, "No available output to collect (run possibly not finished yet)")

    outputDictionary = evaluation[1]
    realizations = outputDictionary["realizations"]
    for real in realizations:
      for key in output.getParaKeys("inputs"):
        if key not in real["inputs"].keys():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 13

Instances


Project Name: idaholab/raven
Commit Name: 00553dec7199d515567c81bc7b0b9b91740b99d6
Time: 2017-09-06
Author: congjian.wang@inl.gov
File Name: framework/PostProcessors/RavenOutput.py
Class Name: RavenOutput
Method Name: collectOutput


Project Name: idaholab/raven
Commit Name: 1c53a21f233d58f17faa423f11ba793b77476ebe
Time: 2017-05-22
Author: andrea.alfonsi@inl.gov
File Name: framework/Models/EnsembleModel.py
Class Name: EnsembleModel
Method Name: collectOutput


Project Name: idaholab/raven
Commit Name: 13f2ef70e8cb3ccedcc2ae3b1ea4843fc37654d3
Time: 2017-05-22
Author: andrea.alfonsi@inl.gov
File Name: framework/Models/EnsembleModel.py
Class Name: EnsembleModel
Method Name: collectOutput