File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 7575 check_table_time_columns_are_not_negative ,
7676 check_table_values_for_dict ,
7777 check_time_interval_time_columns ,
78- check_time_intervals_stop_after_start ,
7978 check_time_intervals_duration ,
79+ check_time_intervals_stop_after_start ,
8080)
8181from ._time_series import (
8282 check_data_orientation ,
Original file line number Diff line number Diff line change 1818)
1919
2020NELEMS = 200
21- MAX_DURATION = 3600 * 24 * 365.25 # default: 1 year
21+ MAX_DURATION = 3600 * 24 * 365.25 # default: 1 year
2222
2323
2424@register_check (importance = Importance .CRITICAL , neurodata_type = DynamicTableRegion )
@@ -295,7 +295,6 @@ def check_table_time_columns_are_not_negative(table: DynamicTable) -> Optional[I
295295 return None
296296
297297
298-
299298@register_check (importance = Importance .CRITICAL , neurodata_type = TimeIntervals )
300299def check_time_intervals_duration (
301300 time_intervals : TimeIntervals , duration_threshold : float = MAX_DURATION
@@ -352,5 +351,3 @@ def check_time_intervals_duration(
352351 )
353352 )
354353 return None
355-
356-
Original file line number Diff line number Diff line change 1818 check_table_time_columns_are_not_negative ,
1919 check_table_values_for_dict ,
2020 check_time_interval_time_columns ,
21- check_time_intervals_stop_after_start ,
2221 check_time_intervals_duration ,
22+ check_time_intervals_stop_after_start ,
2323)
2424
2525
@@ -544,4 +544,3 @@ def test_check_time_intervals_duration_pass_custom_threshold():
544544 # Should pass with 300 second threshold
545545 result = check_time_intervals_duration (table , duration_threshold = 300.0 )
546546 assert result is None
547-
You can’t perform that action at this time.
0 commit comments