From 7026f5284185f91e7f56b05d634dc19f606bee6d Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Wed, 20 Mar 2024 19:26:03 -0600 Subject: [PATCH] ruff --- src/pynwb/ndx_binned_spikes/__init__.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pynwb/ndx_binned_spikes/__init__.py b/src/pynwb/ndx_binned_spikes/__init__.py index 3afa00d..41f2583 100644 --- a/src/pynwb/ndx_binned_spikes/__init__.py +++ b/src/pynwb/ndx_binned_spikes/__init__.py @@ -2,8 +2,9 @@ import numpy as np from pynwb import load_namespaces, get_class +from pynwb import register_class from pynwb.core import NWBDataInterface -from hdmf.utils import docval, popargs_to_dict, get_docval, popargs +from hdmf.utils import docval, popargs_to_dict try: from importlib.resources import files @@ -24,10 +25,8 @@ # BinnedAlignedSpikes = get_class("BinnedAlignedSpikes", "ndx-binned-spikes") -from pynwb import register_class, docval - -@register_class(neurodata_type="BinnedAlignedSpikes", namespace="ndx-binned-spikes") +@register_class(neurodata_type="BinnedAlignedSpikes", namespace="ndx-binned-spikes") #noqa class BinnedAlignedSpikes(NWBDataInterface): __nwbfields__ = ( "name",