Skip to content

Commit 3043a39

Browse files
committed
Minor tweak
1 parent 1f1fa79 commit 3043a39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bidscoin/plugins/events2bids.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,15 +229,15 @@ def bidscoiner_plugin(session: Path, bidsmap: BidsMap, bidsses: Path) -> None:
229229
class PresentationEvents(EventsParser):
230230
"""Parser for Presentation (Neurobs) logfiles"""
231231

232-
def __init__(self, sourcefile: Path, data):
232+
def __init__(self, sourcefile: Path, _data):
233233
"""
234234
Reads the event table from the Presentation logfile
235235
236236
:param sourcefile: The full filepath of the logfile
237237
:param data: The run['events'] data (from a bidsmap)
238238
"""
239239

240-
super().__init__(sourcefile, data)
240+
super().__init__(sourcefile, _data)
241241

242242
# Read the event table from the Presentation logfile
243243
self.sourcetable = df = pd.read_csv(self.sourcefile, sep='\t', skiprows=3, skip_blank_lines=True)

0 commit comments

Comments
 (0)