Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: con/nwb2bids

v0.8.0

15 Dec 15:49

Choose a tag to compare

🚀 Enhancement

🐛 Bug Fix

⚠️ Pushed to main

🏠 Internal

📝 Documentation

Authors: 4

v0.7.0

08 Dec 02:21

Choose a tag to compare

Release Notes

Added and integrated a configuration model (#164)

This release incudes big changes to how arguments are passed in the nwb2bids API: the RunConfig object.

This class is a Pydantic model which encapsulates all previous configuration settings, such as the output BIDS directory and the additional metadata file path. This class is also now passed at time of initialization for all Converter classes and prior to calling the convert_nwb_dataset helper function. This reduces any confusion about which steps of the workflow take which arguments, and allows all internal actions to refer to the common location instead of having to manage passing values back-and-forth. It also has the added benefit of simplifying any future additions to configuration options, such as sanitization parameters.

CLI users are unaffected by these changes, aside from gaining a few new arguments - check them out with

nwb2bids convert --help

🚀 Enhancement

🐛 Bug Fix

🏠 Internal

📝 Documentation

🧪 Tests

🔩 Dependency Updates

Authors: 7

v0.6.0

24 Oct 18:24

Choose a tag to compare

🚀 Enhancement

  • Always include session entity, even with only one subject #148 (@asmacdo)

🐛 Bug Fix

⚠️ Pushed to main

🏠 Internal

📝 Documentation

🧪 Tests

🔩 Dependency Updates

Authors: 4

v0.5.0

03 Oct 01:59
928b63d

Choose a tag to compare

v0.5.0

Features

Added a notification system via the return of nwb2bids.convert_nwb_dataset and attached as the .messages attribute to all converter objects.

Improvements

Began filtering benign PyNWB warnings during read operations.

Documentation

Preliminary documentation is now available at nwb2bids.readthedocs.io.

v0.4.0

17 Sep 19:47
366257f

Choose a tag to compare

v0.4.0

Added a .from_remote_dandiset instantiation method for the DatasetConverter class. This requires installing the pip install nwb2bids[dandi] extra dependencies.

v0.3.0

03 Sep 02:28
3cffa59

Choose a tag to compare

v0.3.0

Deprecations

The CLI call nwb2bids reposit and API function nwb2bids.reposit have been removed - please use nwb2bids convert and nwb2bids.convert_nwb_dataset instead.

The API instantiation method .from_nwb_directory has been standardized as .from_nwb_paths and now takes an iterable of either file or directory paths.

Features

The CLI now accepts a list of space-separated NWB file paths as input, enabling more robust wildcard syntax or xargs usage.
For example:

  • nwb2bids convert file1.nwb file2.nwb
  • nwb2bids convert file*.nwb
  • find -iname "file*.nwb" | xargs nwb2bids convert

Added an API argument nwb_paths: list[str | pathlib.Path] to all relevant conversion functions.

Improvements

The BIDS directory arguments to the CLI (--bids-directory/-o) and API (bids_directory) are now optional, with the default case being the current working directory (which must be either empty or BIDS-compatible).

The default of all file_mode arguments is now the string "auto" instead of None.

Fixes

Ensured removal of any temporary directory created by BaseConverter._handle_file_mode(). @candleindark PR #44

Documentation

Updated README to accurately reflect CLI call syntax.

v0.2.0

11 Jul 19:23
cfcf0e6

Choose a tag to compare

v0.2.0

Deprecations

The function nwb2bids.reposit has been soft deprecated - please use nwb2bids.convert_nwb_dataset instead.

Features

Added events table support.

Added ability to specify additional metadata to write into the BIDS dataset.

Added new object-oriented API, complete with Pydantic model validation, has been added in the form of nwb2bids.DatasetConverter, nwb2bids.SessionConverter, and the nwb2bids.bids_models submodule.

Improvements

Refactored source code to modern Python packaging standards.

Fixes

Debugged ecephys structure against BEP032 BIDS schema current to 6/26/2025.

Bids Field Sanitation

29 Jul 00:35

Choose a tag to compare

0.0.3

fixed sanitization syntax, added more robust tests

Second release, fixed tests

09 Apr 18:09

Choose a tag to compare

0.0.2

Make tests ignore order of files

First release

09 Apr 14:40

Choose a tag to compare

0.0.1

Update proper file names