Skip to content

Commit

Permalink
fix: issue #717 fixed, updated get_input_fnames_find_empty_room() in … (
Browse files Browse the repository at this point in the history
  • Loading branch information
allermat committed Jun 20, 2023
1 parent 3d859d5 commit b0cf4a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/v1.4.md.inc
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
### :bug: Bug fixes

- Fix bug when `mf_reference_run != runs[0]` (#742 by @larsoner)
- Fix bug with too many JSON files found during empty room matching (#743 by @allermat)
2 changes: 1 addition & 1 deletion mne_bids_pipeline/steps/init/_02_find_empty_room.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_input_fnames_find_empty_room(
if hasattr(bids_path_in, "find_matching_sidecar"):
in_files["sidecar"] = (
bids_path_in.copy()
.update(datatype=None)
.update(datatype=None, suffix="meg")
.find_matching_sidecar(extension=".json")
)
try:
Expand Down

0 comments on commit b0cf4a0

Please sign in to comment.