diff --git a/element_array_ephys/ephys_organoids.py b/element_array_ephys/ephys_organoids.py index 58bdd41a..eaa5fc21 100644 --- a/element_array_ephys/ephys_organoids.py +++ b/element_array_ephys/ephys_organoids.py @@ -6,7 +6,7 @@ from decimal import Decimal import datajoint as dj -import intanrhsreader +import intanrhdreader import numpy as np import pandas as pd from element_interface.utils import dict_to_uuid, find_full_path, find_root_directory @@ -207,7 +207,7 @@ def make(self, key): & key & f"file_time BETWEEN '{key['start_time']}' AND '{key['end_time']}'" ).fetch("file", order_by="file_time", limit=1)[0] - data = intanrhsreader.load_file(file) + data = intanrhdreader.load_file(file) del data["header"], data["t"] self.insert( [ @@ -255,7 +255,7 @@ def make(self, key): lfp_concat = np.array([], dtype=np.float64) for file in files: - data = intanrhsreader.load_file(file) + data = intanrhdreader.load_file(file) if not header: # Fetch this from the first file diff --git a/requirements.txt b/requirements.txt index 036cefcf..26d57251 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,3 +6,4 @@ plotly pyopenephys>=1.1.6 seaborn intanrhsreader @ git+https://github.com/datajoint/intanrhsreader.git +intanrhdreader @ git+https://github.com/datajoint/intanrhdreader.git