Skip to content

Commit

Permalink
Add video directory path when getting recorded video
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelbray32 committed Nov 16, 2023
1 parent 4355fc6 commit bf51a8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spyglass/common/common_position.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
plot_track_graph,
)

from ..settings import raw_dir
from ..settings import raw_dir, video_dir
from ..utils.dj_helper_fn import fetch_nwb
from .common_behav import RawPosition, VideoFile
from .common_interval import IntervalList # noqa F401
Expand Down Expand Up @@ -935,7 +935,7 @@ def make(self, key):

print("Making video...")
self.make_video(
video_filename,
f"{video_dir}/{video_filename}",
centroids,
head_position_mean,
head_orientation_mean,
Expand Down
1 change: 1 addition & 0 deletions src/spyglass/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,3 +442,4 @@ def debug_mode(self) -> bool:
sorting_dir = sg_config.sorting_dir
waveform_dir = sg_config.waveform_dir
debug_mode = sg_config.debug_mode
video_dir = sg_config.video_dir

0 comments on commit bf51a8f

Please sign in to comment.