Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Commit 25328b4

Browse files
committed
changed batch to use endaq.ide.get_doc
1 parent 8fa728c commit 25328b4

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

endaq/batch/calc.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44

55
import numpy as np
66
import pandas as pd
7-
import idelib
87

9-
from endaq.batch.analyzer import Analyzer
8+
import endaq.ide
109
from endaq.calc import stats as calc_stats
1110
from endaq.calc import psd as calc_psd
1211

12+
from endaq.batch.analyzer import Analyzer
13+
1314

1415
def _make_meta(dataset):
1516
"""Generate a pandas object containing metadata for the given recording."""
@@ -371,7 +372,7 @@ def _get_data(self, filename):
371372
print(f"processing {filename}...")
372373

373374
data = {}
374-
with idelib.importFile(filename) as ds:
375+
with endaq.ide.get_doc(filename) as ds:
375376
analyzer = Analyzer(
376377
ds,
377378
**self._analyzer_kwargs,

0 commit comments

Comments
 (0)