Skip to content

Commit 38cb350

Browse files
committed
use igor2 in place of igor
1 parent f68c29a commit 38cb350

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

0 commit comments

Comments
 (0)