From 1e6a8f0949854c3ebae53be6d17ff5db6d33ae11 Mon Sep 17 00:00:00 2001 From: Thinh Nguyen Date: Wed, 20 Apr 2022 15:18:09 -0500 Subject: [PATCH 1/3] minor update in `File` table for consistency --- element_deeplabcut/train.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/element_deeplabcut/train.py b/element_deeplabcut/train.py index 6c20ce9..87b7e7c 100644 --- a/element_deeplabcut/train.py +++ b/element_deeplabcut/train.py @@ -106,6 +106,8 @@ class File(dj.Part): definition = """ # Paths of training files (e.g., labeled pngs, CSV or video) -> master + file_id: int + --- file_path: varchar(255) """ From 4eb8a260974603e10d0f62ffc6c9dbb99e7a7a17 Mon Sep 17 00:00:00 2001 From: Thinh Nguyen Date: Wed, 20 Apr 2022 15:28:37 -0500 Subject: [PATCH 2/3] non-nullable recording duration --- element_deeplabcut/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/element_deeplabcut/model.py b/element_deeplabcut/model.py index 97379f6..46a3c90 100644 --- a/element_deeplabcut/model.py +++ b/element_deeplabcut/model.py @@ -137,7 +137,7 @@ class RecordingInfo(dj.Imported): nframes : smallint # number of frames fps = NULL : int # (Hz) frames per second recording_datetime = NULL : datetime # Datetime for the start of the recording - recording_duration = NULL : float # video duration in seconds + recording_duration : float # video duration in seconds """ @property From 55e30405ddf59efbb9ae69439363989234e54f20 Mon Sep 17 00:00:00 2001 From: Thinh Nguyen Date: Thu, 5 May 2022 16:09:44 -0500 Subject: [PATCH 3/3] Update element_deeplabcut/model.py Co-authored-by: Chris Brozdowski --- element_deeplabcut/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/element_deeplabcut/model.py b/element_deeplabcut/model.py index 46a3c90..8e83654 100644 --- a/element_deeplabcut/model.py +++ b/element_deeplabcut/model.py @@ -137,7 +137,7 @@ class RecordingInfo(dj.Imported): nframes : smallint # number of frames fps = NULL : int # (Hz) frames per second recording_datetime = NULL : datetime # Datetime for the start of the recording - recording_duration : float # video duration in seconds + recording_duration : float # video duration (s) from nframes / fps """ @property