Skip to content

v0.3.0

Choose a tag to compare

@CodyCBakerPhD CodyCBakerPhD released this 03 Sep 02:28
· 343 commits to main since this release
3cffa59

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.