Skip to content

v0.7.0

Choose a tag to compare

@h-mayorquin h-mayorquin released this 23 Feb 22:31
· 21 commits to dev since this release
1555e96

v0.7.0 (Feb 23, 2026)

New Checks

  • Added check_file_extension for NWB file extension best practice recommendations (.nwb, .nwb.h5, or .nwb.zarr) #625
  • Added check_time_series_duration to detect unusually long TimeSeries durations (default threshold: 1 year). #627
  • Added check_rate_not_below_threshold to detect suspiciously low sampling rates that may indicate period was used instead of rate. #627
  • Added check_units_table_duration to detect if the duration of spike times in a Units table exceeds a threshold (default: 1 year), which may indicate spike_times are in the wrong units or there is a data quality issue. #636
  • Added check_time_intervals_duration, which makes sure that TimeInterval objects do not have a duration greater than 1 year.
    #635
  • Added check_electrical_series_unscaled_data to warn when ElectricalSeries has integer data type with default conversion (1.0) and offset (0.0), which suggests raw acquisition units are not properly scaled to Volts. Also considers channel_conversion for per-channel scaling. #408
  • Added check_subject_weight to ensure subject weight follows the form '[numeric] [unit]' (e.g., '2.3 kg' or '10 g'). #647
  • Added check_image_series_starting_frame_without_external_file to verify that starting_frame is not set when external_file is not used in an ImageSeries. #235
  • Added check_sweeptable_deprecated to detect usage of the deprecated SweepTable in NWB files with schema version >= 2.4.0, which should use IntracellularRecordingsTable instead. #657
  • Added check_time_series_data_is_not_empty to detect empty .data fields in TimeSeries containers, which often indicate incomplete data entry or conversion errors. Skips ImageSeries with external_file set, where empty data is intentional. #668

Improvements

  • Added documentation to API and CLI docs on how to use the dandi config option. #624
  • Updated report summary to include number of files detected and indicate when no issues are found. #629
  • Made subject information checks (check_subject_exists, check_subject_id_exists, check_subject_sex, check_subject_age) CRITICAL by default to be consistent with DANDI requirements. #648
  • Added nwb_schema_version_lt and nwb_schema_version_gt parameters to register_check to conditionally run checks based on the NWB schema version of the file being inspected. #661

Fixes

  • Fixed check_subject_age to allow "/" and "/P3D" style age ranges where the lower bound is unspecified. #673
  • Fixed check_timestamp_of_the_first_sample_is_not_negative to handle empty timestamps arrays instead of throwing an IndexError. #582
  • Fixed file count error when checking for non-unique identifiers in a folder #629
  • Improved check_data_orientation error message to include the TimeSeries name, current shape, and a suggestion for transposing the data. #1430
  • Dropped Python 3.9 and middle Python versions (3.11, 3.12) from CI; now testing only Python 3.10 and 3.13. #632
  • Updated macOS CI runner from macos-13 to macos-latest. #639