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
destination is an array that is constantly mutated by dest[del]
key is computed in an outter scope. On Zenodo, it's pre-computed based on the original field's array (e.g. 'authors' of a deposit).
At some point, the array might be smaller than the original one and dest[key] can raise a IndexError. This was observed when a deposit had multiple changes to the author's list.
The text was updated successfully, but these errors were encountered:
This bug relates to the following lines:
dictdiffer/dictdiffer/__init__.py
Lines 315 to 319 in 6719335
Description:
destination
is an array that is constantly mutated bydest[del]
key
is computed in an outter scope. On Zenodo, it's pre-computed based on the original field's array (e.g. 'authors' of a deposit).dest[key]
can raise aIndexError
. This was observed when a deposit had multiple changes to the author's list.The text was updated successfully, but these errors were encountered: