From 22cacb97144d58e3f131560bf43f4bf24f02b3e8 Mon Sep 17 00:00:00 2001 From: Cody Baker Date: Mon, 24 Jun 2024 12:17:38 -0400 Subject: [PATCH 1/2] fix sleap_io issue --- nwb-guide.spec | 2 ++ src/example_pipelines.yml | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/nwb-guide.spec b/nwb-guide.spec index f995ddae2b..2f9749beef 100644 --- a/nwb-guide.spec +++ b/nwb-guide.spec @@ -45,6 +45,8 @@ tmp_ret = collect_all('tifffile') datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2] tmp_ret = collect_all('dlc2nwb') datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2] +tmp_ret = collect_all('sleap_io') +datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2] tmp_ret = collect_all('ndx-pose') datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2] tmp_ret = collect_all('tzdata') diff --git a/src/example_pipelines.yml b/src/example_pipelines.yml index ae05a3a0c7..868a3801f5 100644 --- a/src/example_pipelines.yml +++ b/src/example_pipelines.yml @@ -168,3 +168,13 @@ DeepLabCut: DeepLabCutInterface: file_path: behavior_testing_data/DLC/m3v1mp4DLC_resnet50_openfieldAug20shuffle1_30000.h5 config_file_path: behavior_testing_data/DLC/config.yaml + +SLEAP: + metadata: + NWBFile: + session_start_time: 2024-05-09T00:00 + + interfaces: + SLEAPInterface: + file_path: behavior_testing_data/sleap/predictions_1.2.7_provenance_and_tracking.slp + video_file_path: behavior_testing_data/DLC/melanogaster_courtship.mp4 From ee2408017c44e97bb2f94efd8b4206de0f77b6cb Mon Sep 17 00:00:00 2001 From: Cody Baker Date: Mon, 24 Jun 2024 12:29:49 -0400 Subject: [PATCH 2/2] fix path --- src/example_pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/example_pipelines.yml b/src/example_pipelines.yml index 868a3801f5..857d8e1e8f 100644 --- a/src/example_pipelines.yml +++ b/src/example_pipelines.yml @@ -177,4 +177,4 @@ SLEAP: interfaces: SLEAPInterface: file_path: behavior_testing_data/sleap/predictions_1.2.7_provenance_and_tracking.slp - video_file_path: behavior_testing_data/DLC/melanogaster_courtship.mp4 + video_file_path: behavior_testing_data/sleap/melanogaster_courtship.mp4