Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
BalzaniEdoardo committed May 21, 2024
1 parent acf8f44 commit 4100806
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pynapple/io/interface_nwb.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,9 @@ def __getitem__(self, key):
if isinstance(self.data[key], dict) and "id" in self.data[key]:
obj = self.nwb.objects[self.data[key]["id"]]
try:
data = self._f_eval[self.data[key]["type"]](obj, lazy_loading=self._lazy_loading)
data = self._f_eval[self.data[key]["type"]](
obj, lazy_loading=self._lazy_loading
)
except Exception:
warnings.warn(
"Failed to build {}.\n Returning the NWB object for manual inspection".format(
Expand Down

0 comments on commit 4100806

Please sign in to comment.