Skip to content

Commit

Permalink
Merge pull request #22 from pmolfese/fixZeroTime
Browse files Browse the repository at this point in the history
fix error where start could be less than 0
  • Loading branch information
pmolfese authored Nov 1, 2023
2 parents 45dd226 + e1320f2 commit 7905e04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion egi_pynetstation/NetStation.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def send_event(
if start == 'now':
start = time.time() - self._syncepoch
elif isinstance(start, float):
start = start - self._syncepoch
start = start
else:
t_start = type(start)
return TypeError(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "egi_pynetstation"
version = "1.0.0"
version = "1.0.1"
description = "Magstim-EGI EEG amplifier NetStation API"
authors = ["Joshua Teves <joshua.teves@nih.gov>"]
license = "MIT"
Expand Down

0 comments on commit 7905e04

Please sign in to comment.