1a91813f6ea2e4dd344db72c66c96db5690e387a,donkey/remotes.py,DonkeyPilotApplication,__init__,#DonkeyPilotApplication#Any#,85

Before Change


        this_dir = os.path.dirname(os.path.realpath(__file__))
        self.static_file_path = os.path.join(this_dir, "templates", "static")

        self.data_path = os.path.expanduser(data_path)
        self.sessions_path = os.path.join(self.data_path, "sessions")
        self.models_path = os.path.join(self.data_path, "models")

        ph = dk.pilots.PilotHandler(self.models_path)

After Change


        """

        print("hello")
        if not os.path.exists(os.path.expanduser(mydonkey_path)):
            raise ValueError("Could not find mydonkey folder. Please run "python scripts/setup.py"")


        self.vehicles = {}

        this_dir = os.path.dirname(os.path.realpath(__file__))
        self.static_file_path = os.path.join(this_dir, "templates", "static")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: autorope/donkeycar
Commit Name: 1a91813f6ea2e4dd344db72c66c96db5690e387a
Time: 2017-02-23
Author: wroscoe@gmail.com
File Name: donkey/remotes.py
Class Name: DonkeyPilotApplication
Method Name: __init__


Project Name: cmu-db/ottertune
Commit Name: 5c422dd010ff07fc598b3e081c1f1a53d426825c
Time: 2020-05-11
Author: bohanzhang95@gmail.com
File Name: client/driver/driver_config.py
Class Name:
Method Name:


Project Name: autorope/donkeycar
Commit Name: 053d0c2ba48ac6d2ba9cd89676784b893fd9234b
Time: 2017-02-28
Author: wroscoe@gmail.com
File Name: donkey/remotes.py
Class Name: DonkeyPilotApplication
Method Name: __init__