Exemple #1
0
    def __init__(self, str_route):
# shirchen (05/16/10): I dont like what I am doing on the line below
        MuniMain.__init__(self, str_route)
        self.str_dir = os.path.join(self.str_mainDir, 'routes')
        self.str_routeDir = os.path.join(self.str_dir, self.str_route)
        self.str_stopCoordFile = os.path.join(self.str_routeDir, 'stopCoordinates')
        self.str_dictRoutesFile = os.path.join(self.str_routeDir, 'dictRoutes')
        self.str_dictTitleToStopFile = os.path.join(self.str_routeDir, 'titleToStop')
Exemple #2
0
 def __init__(self, route):
     MuniMain.__init__(self, route)
     self.directory = os.path.join(self.base_directory,'location')
     self.logging = False
     co = CheckCoordinate()
     co.setup_dicts()
     co.setup_trips_to_end_points()
     self.co = co
Exemple #3
0
    def __init__(self, str_route):
# shirchen (05/16/10): I dont like what I am doing on the line below
        MuniMain.__init__(self, str_route)
        self.str_dir = os.path.join(self.base_directory, 'arrival')
        self.l_stops = []
        self.dict_titleToStop = {}
 def __init__(self, route):
     MuniMain.__init__(self, route)
     self.directory = os.path.join(self.base_directory,'location')
     self.logging = False