Skip to content

Commit

Permalink
Minor bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelzwiers committed Sep 22, 2023
1 parent 9f90cf3 commit 9c1158f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bidscoin/bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -2011,7 +2011,7 @@ def addparticipant(participants_tsv: Path, subid: str='', sesid: str='', data: d
data_added = False
if subid:
if subid not in table.index:
table.loc[subid] = None
table.loc[subid, 'group'] = None
if sesid and 'session_id' not in data:
data['session_id'] = sesid
for key in data:
Expand Down

0 comments on commit 9c1158f

Please sign in to comment.