4837986e8744922c436794235516686539c6a6f9,framework/CodeInterfaces/Generic/GenericCodeInterface.py,GenericCode,generateCommand,#GenericCode#Any#Any#Any#Any#,57

Before Change


    outfile = "out~"+self.caseName
    if "output" in clargs:
      todo+=" "+clargs["output"]+" "+outfile
    elif "output" in fargs:
      outfile = fargs["output"]
      if "." in outfile:
        splitted = outfile.split(".")
        outfile, userExt = ".".join(splitted[0:-1]), splitted[-1].strip()
        if userExt != "csv":
          raise IOError("user defined output extension ""+userExt+"" is not a "csv"!")
    //text flags
    todo+=" "+clargs["text"]
    //postpend
    todo+=" "+clargs["post"]
    returnCommand = [("parallel",todo)],outfile

After Change


    outfile = "out~"+self.caseName
    if "output" in clargs:
      todo+=" "+clargs["output"]+" "+outfile
    if self.fixedOutFileName is not None:
      outfile = self.fixedOutFileName
    todo+=" "+clargs["text"]
    //postpend
    todo+=" "+clargs["post"]
    returnCommand = [("parallel",todo)],outfile
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: idaholab/raven
Commit Name: 4837986e8744922c436794235516686539c6a6f9
Time: 2018-01-24
Author: andrea.alfonsi@inl.gov
File Name: framework/CodeInterfaces/Generic/GenericCodeInterface.py
Class Name: GenericCode
Method Name: generateCommand


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: f9a43443f497b0659f442652194a1c829279f515
Time: 2018-09-20
Author: chriswilkes@google.com
File Name: perfkitbenchmarker/linux_packages/ycsb.py
Class Name:
Method Name: ParseResults


Project Name: probcomp/bayeslite
Commit Name: 6bc3dcda738601be9741a26ef8fa6429d78d644a
Time: 2015-02-20
Author: riastradh+probcomp@csail.mit.edu
File Name: src/schema.py
Class Name:
Method Name: bayesdb_install_schema