LorenFrankLab / spyglass

Neuroscience data analysis framework for reproducible research built by Loren Frank Lab at UCSF
https://lorenfranklab.github.io/spyglass/
MIT License
94 stars 43 forks source link

Calls in the export process that don't trigger logging #1144

Closed samuelbray32 closed 1 day ago

samuelbray32 commented 1 month ago

Describe the bug In testing the export and docker pipeline, found several cases where entries weren't logged for the SQL dump that we should probably include or make clear in documentation wont be hit. Listing here:

Using a table to restrict another

__fetch_nwb__

samuelbray32 commented 1 month ago

__fetch_nwb notes:__

For the Merge.fetch_nwb() case:

Tracing:

Missing Merge entry

Missing AnalysisNwbfile entry

It seems like the AnalysisNwbfile is maybe not getting hit as expected in the restriction graph from the SourceTable entry? (@CBroz1 )

CBroz1 commented 1 month ago

Thanks for putting this together @samuelbray32. I'll see what I can do about either capturing these missed cases or flagging them as items that the process would miss

CBroz1 commented 1 day ago

Fixed in #1164