Skip to content

Commit

Permalink
Update intanrhsreader -> intanrhdreader
Browse files Browse the repository at this point in the history
  • Loading branch information
kabilar committed Aug 30, 2023
1 parent a6c7bad commit 318bf55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions element_array_ephys/ephys_organoids.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(
[
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 318bf55

Please sign in to comment.