Skip to content

Commit

Permalink
use igor2 in place of igor
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed May 1, 2023
1 parent f68c29a commit 38cb350
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions neo/io/igorproio.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Class for reading data created by IGOR Pro
(WaveMetrics, Inc., Portland, OR, USA)
Depends on: igor (https://pypi.python.org/pypi/igor/)
Depends on: igor2 (https://pypi.python.org/pypi/igor2/)
Supported: Read
Expand All @@ -25,7 +25,7 @@ class IgorIO(BaseIO):
or Packed Experiment (.pxp) files written by WaveMetrics’
IGOR Pro software.
It requires the `igor` Python package by W. Trevor King.
It requires the `igor2` Python package.
Usage:
>>> from neo import io
Expand Down Expand Up @@ -76,8 +76,8 @@ def read_block(self, lazy=False):
return block

def read_segment(self, lazy=False):
import igor.packed as pxp
from igor.record.wave import WaveRecord
import igor2.packed as pxp
from igor2.record.wave import WaveRecord

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

def read_analogsignal(self, path=None, lazy=False):
import igor.binarywave as bw
import igor.packed as pxp
import igor2.binarywave as bw
import igor2.packed as pxp

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

Expand Down

0 comments on commit 38cb350

Please sign in to comment.