cd67dba10273d0d9c3d7ab331fcc3580efdd4d9c,framework/CodeInterfaces/MELCOR/MELCORdata.py,MELCORdata,returnVolumeHybro,#MELCORdata#Any#,103

Before Change


              except ValueError:
                // in this way, the "strings" are not placed in the resulting csv
                pass
      volForEachTime[time] = copy.deepcopy(results)
    return volForEachTime

  def writeCsv(self,filen):
    

After Change


                _ =  float(valueSplit[paramCnt])
                if parameter not in volForEachTime:
                  volForEachTime[parameter] = []
                if parameter in volForEachTime and len(volForEachTime["time"]) !=len(volForEachTime[parameter]):
                  //  there might be repetition(same variable with different units)
                  volForEachTime[parameter].append(float(valueSplit[paramCnt]))
              except ValueError:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: idaholab/raven
Commit Name: cd67dba10273d0d9c3d7ab331fcc3580efdd4d9c
Time: 2020-12-08
Author: andrea.alfonsi@inl.gov
File Name: framework/CodeInterfaces/MELCOR/MELCORdata.py
Class Name: MELCORdata
Method Name: returnVolumeHybro


Project Name: masa-su/pixyz
Commit Name: 161ae41bebc73c146627169f761e3c4ddf83e5d4
Time: 2020-10-26
Author: kaneko@weblab.t.u-tokyo.ac.jp
File Name: pixyz/losses/losses.py
Class Name: Divergence
Method Name: __init__


Project Name: idaholab/raven
Commit Name: e8c8bd77966e726e0632b9c5822a995732662fb1
Time: 2017-09-25
Author: andrea.alfonsi@inl.gov
File Name: framework/Optimizers/SPSA.py
Class Name: SPSA
Method Name: localStillReady