You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OphysTimeAligner loads incorrect keys for some sync files, evidenced by loading the wrong photodiode key for processing monitor delay.
New method needs to be implemented to search for key or throw an error if the data doesn't exist
ToDo:
Search for correct photodiode key in sync file (should be photodiode or stim_photodiode)
Add to list of non found keys and report keys not found to log file.
The text was updated successfully, but these errors were encountered:
The get_keys method in time_sync.py was providing the wrong line labels
to the classes using the method. It was naively assuming that keys
existed in one set or the other with a clean division. This was not the
case and the issue was unveiled when error handling was removed from
monitor delay in #1438.
The method now searches for the possible key values and if they do not exist assumes an old file where not all keys are present. In the case of key not present it defaults to using the oldest key denoted in VERSION_1_KEYS. This fixes the failing bamboo tests and is a more robust search for the future.
Resolves: #1513
See also: #1438, #1519, #1451, #1507
The get_keys method in time_sync.py was providing the wrong line labels
to the classes using the method. It was naively assuming that keys
existed in one set or the other with a clean division. This was not the
case and the issue was unveiled when error handling was removed from
monitor delay in #1438.
The method now searches for the possible key values and if they do not
exist assumes an old file where not all keys are present. In the case
of key not present it defaults to using the oldest key denoted in
VERSION_1_KEYS. This fixes the failing bamboo tests and is a more
robust search for the future.
Resolves: #1513
See also: #1438, #1519, #1451, #1507
OphysTimeAligner loads incorrect keys for some sync files, evidenced by loading the wrong photodiode key for processing monitor delay.
New method needs to be implemented to search for key or throw an error if the data doesn't exist
ToDo:
The text was updated successfully, but these errors were encountered: