817dab1773d0c2cbfbbea466e5967ffed5ba4d45,framework/CodeInterfaces/Generic/GenericCodeInterface.py,GenericCode,generateCommand,#GenericCode#Any#Any#Any#Any#,57

Before Change


    //FIXME I think if you give multiple output flags this could result in overwriting
    self.caseName = inputFiles[index].getBase()
    outfile = "out~"+self.caseName
    if "output" in clargs.keys():
      todo+=" "+clargs["output"]+" "+outfile
    //text flags
    todo+=" "+clargs["text"]
    //postpend
    todo+=" "+clargs["post"]
    returnCommand = [("parallel",todo)],outfile

After Change


    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
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


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


Project Name: CyberReboot/NetworkML
Commit Name: d81648ac800d486085aaa4ea702328669faf1e5b
Time: 2019-12-17
Author: josh@vandervecken.com
File Name: networkml/parsers/pcap/pcap_utils.py
Class Name:
Method Name: get_indiv_source


Project Name: CyberReboot/NetworkML
Commit Name: d81648ac800d486085aaa4ea702328669faf1e5b
Time: 2019-12-17
Author: josh@vandervecken.com
File Name: networkml/parsers/pcap/pcap_utils.py
Class Name:
Method Name: get_source