v0.3.0
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.nwbnwb2bids convert file*.nwbfind -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.