-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
Seems to be a bug that causes PETR to crash. Traceback is:
Traceback (most recent call last):
File "/home/data/phoenix_pipeline/pipeline.py", line 133, in <module>
run_filter=file_details.oneaday_filter)
File "/home/data/phoenix_pipeline/pipeline.py", line 98, in main
config='petr_config.ini')
File "/usr/local/lib/python2.7/dist-packages/petrarch/petrarch.py", line 3035, in run_pipeline
updated_events = do_coding(events, 'TEMP')
File "/usr/local/lib/python2.7/dist-packages/petrarch/petrarch.py", line 2842, in do_coding
coded_events = code_record()
File "/usr/local/lib/python2.7/dist-packages/petrarch/petrarch.py", line 2680, in code_record
assign_NEcodes()
File "/usr/local/lib/python2.7/dist-packages/petrarch/petrarch.py", line 2376, in assign_NEcodes
result = check_NEphrase(nephrase)
File "/usr/local/lib/python2.7/dist-packages/petrarch/petrarch.py", line 2006, in check_NEphrase
actorcode = get_actor_code(patlist[index][0])
File "/usr/local/lib/python2.7/dist-packages/petrarch/petrarch.py", line 1883, in get_actor_code
codelist = PETRglobals.ActorCodes[index]
IndexError: list index out of range