Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stops_ft should be optional #55

Closed
e-lo opened this issue Apr 25, 2017 · 1 comment
Closed

Stops_ft should be optional #55

e-lo opened this issue Apr 25, 2017 · 1 comment
Assignees

Comments

@e-lo
Copy link
Member

e-lo commented Apr 25, 2017

Per https://github.com/osplanning-data-standards/GTFS-PLUS

but when not included, get an error:

Traceback (most recent call last):
  File "scripts/runTest.py", line 108, in <module>
    ft.read_input_files()
  File "/Users/elizabeth/Documents/urbanlabs/MTC/SHRP2/working/fast-trips/fasttrips/FastTrips.py", line 122, in read_input_files
    self.gtfs_schedule)
  File "/Users/elizabeth/Documents/urbanlabs/MTC/SHRP2/working/fast-trips/fasttrips/Stop.py", line 95, in __init__
    dtype={Stop.STOPS_COLUMN_STOP_ID:object})
  File "//anaconda/envs/Fast-Trips/lib/python2.7/site-packages/pandas/io/parsers.py", line 646, in parser_f
    return _read(filepath_or_buffer, kwds)
  File "//anaconda/envs/Fast-Trips/lib/python2.7/site-packages/pandas/io/parsers.py", line 389, in _read
    parser = TextFileReader(filepath_or_buffer, **kwds)
  File "//anaconda/envs/Fast-Trips/lib/python2.7/site-packages/pandas/io/parsers.py", line 730, in __init__
    self._make_engine(self.engine)
  File "//anaconda/envs/Fast-Trips/lib/python2.7/site-packages/pandas/io/parsers.py", line 923, in _make_engine
    self._engine = CParserWrapper(self.f, **self.options)
  File "//anaconda/envs/Fast-Trips/lib/python2.7/site-packages/pandas/io/parsers.py", line 1390, in __init__
    self._reader = _parser.TextReader(src, **kwds)
  File "pandas/parser.pyx", line 373, in pandas.parser.TextReader.__cinit__ (pandas/parser.c:4184)
  File "pandas/parser.pyx", line 667, in pandas.parser.TextReader._setup_parser_source (pandas/parser.c:8449)
IOError: File Examples/tta/input/network-simple/stops_ft.txt does not exist
2017-04-25 10:37:27 [INFO/MainProcess] process shutting down
@e-lo e-lo assigned lmz Apr 25, 2017
lmz pushed a commit that referenced this issue Apr 26, 2017
lmz pushed a commit that referenced this issue Apr 26, 2017
@e-lo
Copy link
Member Author

e-lo commented Apr 27, 2017

This worked when tested, so closing.

@e-lo e-lo closed this as completed Apr 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants