28cabdf7dc5ba64fa51778100614f53eb9bc634b,mltsp/disco_tools.py,,push_by_tag,#Any#Any#,16
Before Change
ddfs = DDFS()
if tag is None:
for file_path in file_paths:
tag = file_path.split("/")[-1].split(".")[0]
ddfs.push(tag,[file_path])
else:
ddfs.push(tag,file_paths)
After Change
ddfs = DDFS()
if tag is None:
for file_path in file_paths:
tag = os.path.splitext(ntpath.basename(file_path))[0]
ddfs.push(tag,[file_path])
else:
ddfs.push(tag,file_paths)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
Instances
Project Name: cesium-ml/cesium
Commit Name: 28cabdf7dc5ba64fa51778100614f53eb9bc634b
Time: 2015-02-11
Author: a.crellinquick@gmail.com
File Name: mltsp/disco_tools.py
Class Name:
Method Name: push_by_tag
Project Name: pytorch/tutorials
Commit Name: 4ce8b871ef249dfacc1b389108842a0c2c0805b7
Time: 2018-04-30
Author: jxcode.tw@gmail.com
File Name: intermediate_source/char_rnn_generation_tutorial.py
Class Name:
Method Name:
Project Name: pytorch/tutorials
Commit Name: 4ce8b871ef249dfacc1b389108842a0c2c0805b7
Time: 2018-04-30
Author: jxcode.tw@gmail.com
File Name: intermediate_source/char_rnn_classification_tutorial.py
Class Name:
Method Name: