spyglass
spyglass copied to clipboard
Ambiguous table name on `increment_access` during `fetch_nwb`
The function to determine the fetch_nwb
calling table from the stack
https://github.com/LorenFrankLab/spyglass/blob/e23d1fd8c69a114fe93cfd7094c6da714c7e6fa2/src/spyglass/utils/dj_helper_fn.py#L115-L132
finds multiple entries when using either of the following
LFPArtifactDetection().populate(key)
LFPBandV1().populate(key)
This is not an issue for these cases, because the entry already exists in the log table. We may experience problems if other processes fail to find the calling table and the file is not already in the log table