Skip to content

Commit

Permalink
set default close_file to False
Browse files Browse the repository at this point in the history
  • Loading branch information
jguides committed Nov 26, 2024
1 parent d3d77a6 commit fac1ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spyglass/utils/dj_helper_fn.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def fetch_nwb(query_expression, nwb_master, *attrs, **kwargs):
"""
kwargs["as_dict"] = True # force return as dictionary

close_file = kwargs.pop("close_file", True)
close_file = kwargs.pop("close_file", False)

tbl, attr_name = nwb_master
if "analysis" in attr_name:
Expand Down

0 comments on commit fac1ee0

Please sign in to comment.