Skip to content

Commit

Permalink
remove unneccesary check
Browse files Browse the repository at this point in the history
  • Loading branch information
thht committed Sep 25, 2024
1 parent 0341739 commit 18fa664
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mne_bids/write.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,6 @@ def _participants_tsv(raw, subject_id, fname, overwrite=False):
# contain scalars (i.e. not further lists). Fix if possible
for key in data.keys():
cur_value = data[key]
if not isinstance(cur_value, list):
cur_value = [cur_value]

# Check if all values are scalars
new_value = []
Expand Down

0 comments on commit 18fa664

Please sign in to comment.