bb50a8a14130c1dc9cdd9db31c3cd4dcc97b9c5e,src/Global.py,,,#,25

Before Change



GloVe_DIR = "D:\\glove\\"
GloVe_file = "glove.6B.100d.txt"
GloVe = Path(GloVe_DIR+GloVe_file)
if not GloVe.is_file():
    print("Could not find %s Set GloVe Directory in Global.py ",GloVe)
    exit()

After Change



GloVe_DIR = GloVe.download_and_extract()
GloVe_file = "glove.6B.100d.txt"
GloVe_DIR = os.path.join(GloVe_DIR, GloVe_file)


if not os.path.isfile(GloVe_DIR):
    print("Could not find %s Set GloVe Directory in Global.py ",GloVe)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: kk7nc/RMDL
Commit Name: bb50a8a14130c1dc9cdd9db31c3cd4dcc97b9c5e
Time: 2018-03-22
Author: kk7nc@virginia.edu
File Name: src/Global.py
Class Name:
Method Name:


Project Name: shibing624/pycorrector
Commit Name: 72e29e3d003ad7b5b3644479cdc538b31a8a1fde
Time: 2020-08-08
Author: xuming624@qq.com
File Name: pycorrector/config.py
Class Name:
Method Name:


Project Name: ilastik/ilastik
Commit Name: fcf9813198d63169d0e93c1086746645e9432218
Time: 2019-07-19
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/datasetInfoEditorWidget.py
Class Name: DatasetInfoEditorWidget
Method Name: accept