From 9c1158fca057aa737e35b84c4439eb58e4f5f170 Mon Sep 17 00:00:00 2001 From: MarsMellow Date: Fri, 22 Sep 2023 13:49:38 +0200 Subject: [PATCH] Minor bugfix --- bidscoin/bids.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bidscoin/bids.py b/bidscoin/bids.py index 863ed3b7..a691cc37 100644 --- a/bidscoin/bids.py +++ b/bidscoin/bids.py @@ -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: