Skip to content

Commit 8ec656d

Browse files
Merge pull request #1271 from apdavison/igor2
Use igor2 in place of igor
2 parents 093231f + 71a3c19 commit 8ec656d

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

doc/source/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Neo will still install but the IO module that uses them will fail on loading:
2626
* scipy >= 1.0.0 for NeoMatlabIO
2727
* h5py >= 2.5 for KwikIO
2828
* klusta for KwikIO
29-
* igor >= 0.2 for IgorIO
29+
* igor2 >= 0.5.2 for IgorIO
3030
* nixio >= 1.5 for NixIO
3131
* stfio for StimfitIO
3232
* pillow for TiffIO

neo/io/igorproio.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Class for reading data created by IGOR Pro
33
(WaveMetrics, Inc., Portland, OR, USA)
44
5-
Depends on: igor (https://pypi.python.org/pypi/igor/)
5+
Depends on: igor2 (https://pypi.python.org/pypi/igor2/)
66
77
Supported: Read
88
@@ -25,7 +25,7 @@ class IgorIO(BaseIO):
2525
or Packed Experiment (.pxp) files written by WaveMetrics’
2626
IGOR Pro software.
2727
28-
It requires the `igor` Python package by W. Trevor King.
28+
It requires the `igor2` Python package.
2929
3030
Usage:
3131
>>> from neo import io
@@ -76,8 +76,8 @@ def read_block(self, lazy=False):
7676
return block
7777

7878
def read_segment(self, lazy=False):
79-
import igor.packed as pxp
80-
from igor.record.wave import WaveRecord
79+
import igor2.packed as pxp
80+
from igor2.record.wave import WaveRecord
8181

8282
assert not lazy, 'This IO does not support lazy mode'
8383
segment = Segment(file_origin=str(self.filename))
@@ -100,8 +100,8 @@ def callback(dirpath, key, value):
100100
return segment
101101

102102
def read_analogsignal(self, path=None, lazy=False):
103-
import igor.binarywave as bw
104-
import igor.packed as pxp
103+
import igor2.binarywave as bw
104+
import igor2.packed as pxp
105105

106106
assert not lazy, 'This IO does not support lazy mode'
107107

neo/test/iotest/test_igorio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import unittest
66

77
try:
8-
import igor
8+
import igor2
99

1010
HAVE_IGOR = True
1111
except ImportError:

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ test = [
5151
"scipy>=1.0.0",
5252
"pyedflib",
5353
"h5py",
54-
"igor",
54+
"igor2",
5555
"klusta",
5656
"tqdm",
5757
"nixio",
@@ -83,7 +83,7 @@ dev = [
8383
"twine"
8484
]
8585

86-
igorproio = ["igor"]
86+
igorproio = ["igor2"]
8787
kwikio = ["klusta"]
8888
neomatlabio = ["scipy>=1.0.0"]
8989
nixio = ["nixio>=1.5.0"]
@@ -99,7 +99,7 @@ all = [
9999
"coverage",
100100
"coveralls",
101101
"h5py",
102-
"igor",
102+
"igor2",
103103
"ipython",
104104
"klusta",
105105
"matplotlib",

0 commit comments

Comments
 (0)