Just remove an entry from date_offset.csv that is in the beginning of date_offset.csv. Though we expect to see KeyError, it does not show anything. Rather it hangs indefinitely.
Interim solution
Make sure to run set_date_shifts.py so all entries are available in date_offset.csv.
It should because we added this block:
https://github.com/AMP-SCZ/utility/blob/5f1fd8b3c0ef712a592b18dcd0bf0dcb2cf1ac43/shift_redcap_dates.py#L121-L130
Way to reproduce
Just remove an entry from
date_offset.csv
that is in the beginning ofdate_offset.csv
. Though we expect to seeKeyError
, it does not show anything. Rather it hangs indefinitely.Interim solution
Make sure to run
set_date_shifts.py
so all entries are available indate_offset.csv
.