e322a26c7cb05e926c28193b2d7b6abd10daef8a,plasma/conf.py,,,#,5
Before Change
import os
import errno
try:
conf = parameters("./conf.yaml")
except:
raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), "conf.yaml")
//conf = parameters(os.path.join(os.path.abspath(os.path.dirname(__file__)), "conf.yaml"))
After Change
if os.path.exists("./conf.yaml"):
conf = parameters("./conf.yaml")
elif os.path.exists(os.path.join(os.path.abspath(os.path.dirname(__file__)), "conf.yaml")):
conf = parameters(os.path.join(os.path.abspath(os.path.dirname(__file__)), "conf.yaml"))
else:
raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), "conf.yaml")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: PPPLDeepLearning/plasma-python
Commit Name: e322a26c7cb05e926c28193b2d7b6abd10daef8a
Time: 2017-01-11
Author: asvyatkovskiy@gmail.com
File Name: plasma/conf.py
Class Name:
Method Name:
Project Name: ricsinaruto/Seq2seqChatbots
Commit Name: 3b9042c743facfbd1e641784f21e29a95db2aac2
Time: 2018-09-20
Author: purgai.patrik@gmail.com
File Name: t2t_csaky/data_filtering/semantic_clustering.py
Class Name:
Method Name:
Project Name: googledatalab/pydatalab
Commit Name: 7a5f3c1751bc31f0bd5406bab04845461dd8c88a
Time: 2017-08-08
Author: qimingj@users.noreply.github.com
File Name: google/datalab/ml/_summary.py
Class Name: Summary
Method Name: get_events