Skip to content

Commit dd1b937

Browse files
Merge pull request #210 from NeurodataWithoutBorders/check_angle
[Bug] fix check_compass decorator
2 parents 9c84959 + 6bc117c commit dd1b937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nwbinspector/checks/behavior.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def check_spatial_series_dims(spatial_series: SpatialSeries):
1313
)
1414

1515

16-
@register_check(importance=Importance.BEST_PRACTICE_VIOLATION, neurodata_type=SpatialSeries)
16+
@register_check(importance=Importance.BEST_PRACTICE_VIOLATION, neurodata_type=CompassDirection)
1717
def check_compass_direction_unit(compass_direction: CompassDirection):
1818
for spatial_series in compass_direction.spatial_series.values():
1919
if spatial_series.unit not in ("degrees", "radians"):

0 commit comments

Comments
 (0)