From 2317980d4d3e2c1d198a9a3f059092a2a2404d9e Mon Sep 17 00:00:00 2001 From: AlexEMG Date: Mon, 9 Oct 2023 23:27:26 +0200 Subject: [PATCH 1/3] Fix link typos and conversion --- deeplabcut/create_project/demo_data.py | 2 +- docs/PROJECT_GUI.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deeplabcut/create_project/demo_data.py b/deeplabcut/create_project/demo_data.py index c495c89ba6..34b45976b0 100644 --- a/deeplabcut/create_project/demo_data.py +++ b/deeplabcut/create_project/demo_data.py @@ -60,7 +60,7 @@ def transform_data(config): else: print("This is not an official demo dataset.") - if "WILL BE AUTOMATICALLY UPDATED BY DEMO CODE" in cfg["video_sets"].keys(): + if "WILL BE AUTOMATICALLY UPDATED BY DEMO CODE" in dict(cfg["video_sets"].keys()): cfg["video_sets"][str(video_file)] = cfg["video_sets"].pop( "WILL BE AUTOMATICALLY UPDATED BY DEMO CODE" ) diff --git a/docs/PROJECT_GUI.md b/docs/PROJECT_GUI.md index 682078a779..f922587184 100644 --- a/docs/PROJECT_GUI.md +++ b/docs/PROJECT_GUI.md @@ -23,7 +23,7 @@ Now you have DeepLabCut installed, but if you want to update it, either follow t Start at the Project Management Tab and work your way through the tabs to built your customized model and deploy it on new data. We recommend to keep the terminal visible (as well as the GUI) so you can see the ongoing processes as you step through your project, or any errors that might arise. -- For specific napari-based labeling features, see the ["napari gui" docs](https://deeplabcut.github.io/DeepLabCut/docs/napariGUI.html#usage). +- For specific napari-based labeling features, see the ["napari gui" docs](https://deeplabcut.github.io/DeepLabCut/docs/napari_GUI.html#usage). - To change from dark to light mode, set appearance at the top:

Date: Tue, 10 Oct 2023 16:23:56 +0200 Subject: [PATCH 3/3] Update demo_data.py --- deeplabcut/create_project/demo_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deeplabcut/create_project/demo_data.py b/deeplabcut/create_project/demo_data.py index 74d05dba87..c495c89ba6 100644 --- a/deeplabcut/create_project/demo_data.py +++ b/deeplabcut/create_project/demo_data.py @@ -60,7 +60,7 @@ def transform_data(config): else: print("This is not an official demo dataset.") - if "WILL BE AUTOMATICALLY UPDATED BY DEMO CODE" in dict(cfg["video_sets"]).keys(): + if "WILL BE AUTOMATICALLY UPDATED BY DEMO CODE" in cfg["video_sets"].keys(): cfg["video_sets"][str(video_file)] = cfg["video_sets"].pop( "WILL BE AUTOMATICALLY UPDATED BY DEMO CODE" )