Skip to content

Commit bc15141

Browse files
committed
fix dependency from #1571
1 parent 8e04a16 commit bc15141

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

neo/test/rawiotest/test_neuralynxrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import datetime
2-
import dateutil
32
import unittest
43

54
import os
@@ -390,6 +389,7 @@ def test_neuraview2(self):
390389

391390
# left in for possible future header tests
392391
def check_dateutil_parse(self, hdrTxt, openPat, closePat, openDate, closeDate):
392+
import dateutil
393393
mtch = openPat.search(hdrTxt)
394394
self.assertIsNotNone(mtch)
395395
dt = mtch.groupdict()

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ maxwell = ["h5py"]
103103
biocam = ["h5py"]
104104
med = ["dhn_med_py<2.0"] # ci failing with 2.0 test future version when stable
105105
plexon2 = ["zugbruecke>=0.2; sys_platform!='win32'", "wenv; sys_platform!='win32'"]
106+
neuralynx = ["python-dateutil"]
106107

107108
all = [
108109
"coverage",
@@ -126,6 +127,7 @@ all = [
126127
"tqdm",
127128
"wenv; sys_platform!='win32'",
128129
"zugbruecke>=0.2; sys_platform!='win32'",
130+
"python-dateutil",
129131
]
130132
# we do not include 'stfio' in 'all' as it is not pip installable
131133

0 commit comments

Comments
 (0)