Skip to content

Commit

Permalink
[Fix] format string receiving incorrect number of args in bids interf…
Browse files Browse the repository at this point in the history
…ace (#563)

* Fixes #552

* update whats_new.rst
  • Loading branch information
PierreGtch committed Apr 10, 2024
1 parent a6e6815 commit fdfab6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/source/whats_new.rst
Expand Up @@ -31,6 +31,7 @@ Bugs
- Fix saving to BIDS runs with a description string in their name (:gh:`530` by `Pierre Guetschel`_)
- Fix import of keras BatchNormalization for TF 2.13 and higher (:gh:`544` by `Brian Irvine`_)
- Fix the doc summary tables of :class:`moabb.datasets.Lee2019_SSVEP` (:gh:`548` :gh:`547` :gh:`546` by `Pierre Guetschel`_)
- Fix format string receiving incorrect number of args in bids interface (:gh:`563` by `Pierre Guetschel`_)

API changes
~~~~~~~~~~~
Expand Down
7 changes: 4 additions & 3 deletions moabb/datasets/bids_interface.py
Expand Up @@ -234,9 +234,10 @@ def save(self, sessions_data):
for run, obj in runs.items():
if obj is None:
log.warning(
"Skipping caching %s session " + "%s run %s because "
"it is None.",
(repr(self), session, run),
"Skipping caching %s session %s run %s because it is None.",
repr(self),
session,
run,
)
continue

Expand Down

0 comments on commit fdfab6a

Please sign in to comment.