Skip to content

Commit

Permalink
Merge pull request #94 from LorenFrankLab/no_sysclock_bug
Browse files Browse the repository at this point in the history
Fix error in io splitter if no systime
  • Loading branch information
edeno authored May 8, 2024
2 parents f211392 + 6207126 commit f6399c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/trodes_to_nwb/convert_ephys.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ def __init__(
previous_multiplex_state = None
iterator_loc = len(iterator_size) - i - 1
# calculate systime regression on full epoch, parameters stored and inherited by partial iterators
self.neo_io[iterator_loc].get_regressed_systime(0, None)
if self.neo_io[iterator_loc].sysClock_byte:
self.neo_io[iterator_loc].get_regressed_systime(0, None)
while j < size:
sub_iterators.append(
SpikeGadgetsRawIOPartial(
Expand Down

0 comments on commit f6399c8

Please sign in to comment.