Skip to content

Commit

Permalink
one.alf.files -> one.alf.path
Browse files Browse the repository at this point in the history
  • Loading branch information
k1o0 committed Nov 13, 2024
1 parent cc037ef commit 55e3dc6
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 64 deletions.
3 changes: 2 additions & 1 deletion iblrig/online_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from pandas.api.types import CategoricalDtype

import one.alf.io
import one.alf.path
from iblrig.choiceworld import get_subject_training_info
from iblrig.misc import online_std
from iblrig.raw_data_loaders import load_task_jsonable
Expand Down Expand Up @@ -50,7 +51,7 @@ class DataModel:
time_elapsed = 0.0

def __init__(self, settings_file: Path | None):
self.session_path = one.alf.files.get_session_path(settings_file) or ''
self.session_path = one.alf.path.get_session_path(settings_file) or ''
self.last_trials = pd.DataFrame(
columns=['correct', 'signed_contrast', 'stim_on', 'play_tone', 'reward_time', 'error_time', 'response_time'],
index=np.arange(NTRIALS_PLOT),
Expand Down
2 changes: 1 addition & 1 deletion iblrig/transfer_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

import ibllib.pipes.misc
import iblrig
import one.alf.files as alfiles
import one.alf.path as alfiles
from ibllib.io import raw_data_loaders, session_params
from ibllib.pipes.misc import sleepless
from iblrig.raw_data_loaders import load_task_jsonable
Expand Down
122 changes: 61 additions & 61 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies = [
"iblpybpod @ git+https://github.com/int-brain-lab/iblpybpod.git@no-gui",
"iblutil>=1.13.0",
"iblqt>=0.2.0",
"ONE-api>=2.9.1",
"ONE-api>=2.11.0",
"tycmd-wrapper>=0.2.1",
#
# Everything else
Expand Down

0 comments on commit 55e3dc6

Please sign in to comment.