Skip to content

Commit 1032c09

Browse files
committed
Force also this channel to be integer
1 parent 1cdf048 commit 1032c09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

phys2bids/physio_obj.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ def auto_trigger_selection(self):
605605
raise Exception('More than one possible trigger channel was automatically found. '
606606
'Please run phys2bids specifying the -chtrig argument.')
607607
else:
608-
self.trigger_idx = indexes[0]
608+
self.trigger_idx = int(indexes[0])
609609
else:
610610
# Time-domain automatic trigger detection
611611
LGR.info('Find the trigger channel by measuring data distance from its value limits.')

0 commit comments

Comments
 (0)