We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cdf048 commit 1032c09Copy full SHA for 1032c09
1 file changed
phys2bids/physio_obj.py
@@ -605,7 +605,7 @@ def auto_trigger_selection(self):
605
raise Exception('More than one possible trigger channel was automatically found. '
606
'Please run phys2bids specifying the -chtrig argument.')
607
else:
608
- self.trigger_idx = indexes[0]
+ self.trigger_idx = int(indexes[0])
609
610
# Time-domain automatic trigger detection
611
LGR.info('Find the trigger channel by measuring data distance from its value limits.')
0 commit comments