From 51fcc40effb48dc0a1601cb2b6db7c292352e715 Mon Sep 17 00:00:00 2001 From: bendichter Date: Wed, 11 May 2022 10:11:55 -0400 Subject: [PATCH] fix decorator --- nwbinspector/checks/behavior.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nwbinspector/checks/behavior.py b/nwbinspector/checks/behavior.py index b22cee768..73d6f0a00 100644 --- a/nwbinspector/checks/behavior.py +++ b/nwbinspector/checks/behavior.py @@ -13,7 +13,7 @@ def check_spatial_series_dims(spatial_series: SpatialSeries): ) -@register_check(importance=Importance.BEST_PRACTICE_VIOLATION, neurodata_type=SpatialSeries) +@register_check(importance=Importance.BEST_PRACTICE_VIOLATION, neurodata_type=CompassDirection) def check_compass_direction_unit(compass_direction: CompassDirection): for spatial_series in compass_direction.spatial_series.values(): if spatial_series.unit not in ("degrees", "radians"):