a8e8f9157b38314bb12910fe13fa7f34739d9c2b,tools/lib_alignments/jobs.py,Merge,set_destination_filename,#Merge#,498

Before Change


    def set_destination_filename(self):
         Set the destination filename 
        orig, ext = os.path.splitext(self.alignments.file)
        filename = "{}_merged{}".format(orig, ext)
        logger.debug("Output set to: "%s"", filename)
        self.alignments.file = filename

After Change


         Set the destination filename 
        folder = os.path.split(self.final_alignments.file)[0]
        ext = os.path.splitext(self.final_alignments.file)[1]
        now = datetime.now().strftime("%Y%m%d_%H%M%S")
        filename = os.path.join(folder, "alignments_merged_{}{}".format(now, ext))
        logger.debug("Output set to: "%s"", filename)
        self.final_alignments.file = filename
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: deepfakes/faceswap
Commit Name: a8e8f9157b38314bb12910fe13fa7f34739d9c2b
Time: 2019-04-12
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/lib_alignments/jobs.py
Class Name: Merge
Method Name: set_destination_filename


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: ee20b930408375dce3a59ab22f6ba1316baecaed
Time: 2019-04-04
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAUtil/QALogs.py
Class Name:
Method Name:


Project Name: stratosphereips/StratosphereLinuxIPS
Commit Name: 4e09975eedc811c52302de17bd121b81e0b1b36e
Time: 2019-01-20
Author: eldraco@gmail.com
File Name: inputProcess.py
Class Name: InputProcess
Method Name: run