Skip to content

Commit

Permalink
Add note
Browse files Browse the repository at this point in the history
  • Loading branch information
CBroz1 committed Nov 21, 2023
1 parent c31db10 commit b3f229e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/spyglass/utils/dj_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ def fetch_nwb(self, *attrs, **kwargs):
Impleminting class must have a foreign key to Nwbfile or
AnalysisNwbfile or a nwb_table attribute.
A class that does not have with either '-> Nwbfile' or
'-> AnalysisNwbfile' in its definition can use a nwb_table attribute to
specify which table to use.
"""

if not hasattr(self, "nwb_table"):
Expand Down

0 comments on commit b3f229e

Please sign in to comment.