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
//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:
toAppend = clargs["output"]+" "+outfile
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
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
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: HewlettPackard/dlcookbook-dlbs
Commit Name: 95f3cef7c70718bfbae64d496c803361a7696d7c
Time: 2018-01-22
Author: sergey.serebryakov@hpe.com
File Name: python/dlbs/validator.py
Class Name: Validator
Method Name: validate
Project Name: explosion/spaCy
Commit Name: fd1a9225d80a667bfd88c5d21bdaeaf156003cf2
Time: 2017-09-29
Author: ines@ines.io
File Name: spacy/cli/package.py
Class Name:
Method Name: generate_pipeline