Ver código fonte

added script for updating hashes directly in metadata.yaml

niksirbi 1 ano atrás
pai
commit
68f5a0081d
7 arquivos alterados com 462 adições e 393 exclusões
  1. 0 4
      bboxes_hashes.txt
  2. 0 13
      frames_hashes.txt
  3. 0 8
      get_sha256_hashes.py
  4. 343 334
      metadata.yaml
  5. 0 24
      poses_hashes.txt
  6. 119 0
      update_hashes.py
  7. 0 10
      videos_hashes.txt

+ 0 - 4
bboxes_hashes.txt

@@ -1,4 +0,0 @@
-VIA_multiple-crabs_5-frames_labels.csv 98de641c2577b210263ea85b02a0c7bf17d144ed9268730242a7d5869f86434b
-VIA_multiple-crabs_5-frames_labels_missing.csv a5193509ddb9f132ab223e98a0f7d84fc3fa57c2a80052e0d1a4fa29813911fb
-VIA_single-crab_MOCA-crab-1.csv a473a36585d1802d276dd3b605c9adab74df6e5658c962395ff9299cac2c58f5
-VIA_single-crab_MOCA-crab-1_linear-interp.csv 793c280faaa1c3e1fb32148e16c0ce3102a03006fa5b141b9762d01a7c0aa262

+ 0 - 13
frames_hashes.txt

@@ -1,13 +0,0 @@
-locusts-noqr_n-5_date-20250117_frame-bg.png 53ae76c5980d2988e329f0d74a88c11376e637bafd77342c6c9ccf0ecbb5da6f
-rotating-mouse_eye-tracking_stim-black_frame-5sec.png a2b12148197dced5aa0970281e9e61a5daa92878d1484f5685326392640992e1
-rotating-mouse_eye-tracking_stim-uniform_frame-5sec.png 1b4bac11cee78cdc6fff52e7084b5f2a14f7e8fcbb5452c84b3d28a00f709348
-single-crab_MOCA-crab-1_frame-0.jpg 02d3977371ffc31ff51364e0487e097e9d072075e811e9b869967a92ecf67501
-single-mouse_EPM_frame-20sec.png fad9caac919e7041d4312c988a94c18f262f30a9dfe28e37e58e330f325d855f
-single-mouse_pupil-tracking_frame-10sec.png b1f13a7e8c72ecb3c5fde2143c54b4788da49acf0fdc1b29c721c3be252846b3
-single-wasp_frame-10sec.png d0d4ab3dceff93d3d192da6fe2427baffec8c2f23f2b1c8e997c4d004e816180
-smart-kage3_datetime-20240417T090006_frame-0.png f6ade1e14de2db10f27ad6989d953dc56370980570b64d3e5adecaa0772897ec
-smart-kage3_datetime-20240417T100006_frame-0.png 75929eaac7224907950c3e242a00ea4a98264a2316986cbf9f1b5a495f3a3052
-smart-kage3_datetime-20240417T110006_frame-0.png becf458a98a7f463a90bbffdcc558b74652f5dca942c89c90c91c9c39f5eb9d3
-three-mice_Aeon_frame-5sec.png 889e1bbee6cb23eb6d52820748123579acbd0b2a7265cf72a903dabb7fcc3d1a
-two-mice_frame-600sec.png 28df9b0128150baf631e03254925eb6562f247b15192aab7abe84fb5b603a164
-two-mice_octagon_frame-10sec.png 56185ecf2e8f176ac39af29d51bfa1ccf85a11bd7cacfb4d9f5615b61c20f438

+ 0 - 8
get_sha256_hashes.py

@@ -1,8 +0,0 @@
-"""Compute sha256 hashes for all files"""
-
-import pooch
-
-folders = ["poses", "bboxes", "frames", "videos"]
-
-for folder in folders:
-    pooch.make_registry(folder, f"{folder}_hashes.txt")

+ 343 - 334
metadata.yaml

@@ -1,504 +1,513 @@
-"DLC_rotating-mouse_eye-tracking_stim-black.predictions.h5":
-  sha256sum: "6d76f75ee076fadf004f4dd48c47e3f47acafb351da556670aa2c1be543ab049"
-  source_software: "DeepLabCut"
-  type: "poses"
+DLC_rotating-mouse_eye-tracking_stim-black.predictions.h5:
+  sha256sum: 6d76f75ee076fadf004f4dd48c47e3f47acafb351da556670aa2c1be543ab049
+  source_software: DeepLabCut
+  type: poses
   fps: 40
-  species: "mouse"
+  species: mouse
   number_of_individuals: 1
   shared_by:
-    name: "Sepiedeh Keshavarzi"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Sepiedeh Keshavarzi
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
-    file_name: "rotating-mouse_eye-tracking_stim-black_frame-5sec.png"
-    sha256sum: "a2b12148197dced5aa0970281e9e61a5daa92878d1484f5685326392640992e1"
+    file_name: rotating-mouse_eye-tracking_stim-black_frame-5sec.png
+    sha256sum: a2b12148197dced5aa0970281e9e61a5daa92878d1484f5685326392640992e1
   video:
-    file_name: "rotating-mouse_eye-tracking_stim-black_video.mp4"
-    sha256sum: "a7972d5dde19a1f994fc72a23ee693102a5e3ee59bc386273ca089354fde07b5"
-  note: "The left eye of the mouse is tracked while the animal is fixed on a rotating platform, in the dark. The view is flipped up-down, so the eyebrow appears below the eye. The reflection of the infrared LED array used to illuminate the camera recording is visible in the pupil. This dataset comes from the same experimental setup as 'DLC_rotating-mouse_eye-tracking_stim-uniform.predictions.h5', but the visual stimulus is different (dark here vs uniformly lit in the 'uniform' dataset)."
-
-"DLC_rotating-mouse_eye-tracking_stim-uniform.predictions.h5":
-  sha256sum: "bd8bd6bbd95bc998d863dc78fb42a40e47e9e0b37f700384f16546bd3b738b95"
-  source_software: "DeepLabCut"
-  type: "poses"
+    file_name: rotating-mouse_eye-tracking_stim-black_video.mp4
+    sha256sum: a7972d5dde19a1f994fc72a23ee693102a5e3ee59bc386273ca089354fde07b5
+  note: The left eye of the mouse is tracked while the animal is fixed on a rotating
+    platform, in the dark. The view is flipped up-down, so the eyebrow appears below
+    the eye. The reflection of the infrared LED array used to illuminate the camera
+    recording is visible in the pupil. This dataset comes from the same experimental
+    setup as 'DLC_rotating-mouse_eye-tracking_stim-uniform.predictions.h5', but the
+    visual stimulus is different (dark here vs uniformly lit in the 'uniform' dataset).
+DLC_rotating-mouse_eye-tracking_stim-uniform.predictions.h5:
+  sha256sum: bd8bd6bbd95bc998d863dc78fb42a40e47e9e0b37f700384f16546bd3b738b95
+  source_software: DeepLabCut
+  type: poses
   fps: 40
-  species: "mouse"
+  species: mouse
   number_of_individuals: 1
   shared_by:
-    name: "Sepiedeh Keshavarzi"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Sepiedeh Keshavarzi
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
-    file_name: "rotating-mouse_eye-tracking_stim-uniform_frame-5sec.png"
-    sha256sum: "1b4bac11cee78cdc6fff52e7084b5f2a14f7e8fcbb5452c84b3d28a00f709348"
+    file_name: rotating-mouse_eye-tracking_stim-uniform_frame-5sec.png
+    sha256sum: 1b4bac11cee78cdc6fff52e7084b5f2a14f7e8fcbb5452c84b3d28a00f709348
   video:
-    file_name: "rotating-mouse_eye-tracking_stim-uniform_video.mp4"
-    sha256sum: "9a0c099d40c31c138c406236a5900544961956b2c0e0ff3536f34b0465a5874f"
-  note: "The left eye of the mouse is tracked while the animal is fixed on a rotating platform, surrounded by a uniformly lit visual stimulus. The view is flipped up-down, so the eyebrow appears below the eye. The reflection of the infrared LED array used to illuminate the camera recording is visible in the pupil. This dataset comes from the same experimental setup as 'DLC_rotating-mouse_eye-tracking_stim-black.predictions.h5', but the visual stimulus is different (uniformly lit here vs dark in the 'black' dataset)."
-
-"DLC_single-mouse_EPM.predictions.csv":
-  sha256sum: "859fe530407c1a2e229668c0fcd2693d24eadafb9e64ece845092ce53b96c3fd"
-  source_software: "DeepLabCut"
-  type: "poses"
+    file_name: rotating-mouse_eye-tracking_stim-uniform_video.mp4
+    sha256sum: 9a0c099d40c31c138c406236a5900544961956b2c0e0ff3536f34b0465a5874f
+  note: The left eye of the mouse is tracked while the animal is fixed on a rotating
+    platform, surrounded by a uniformly lit visual stimulus. The view is flipped up-down,
+    so the eyebrow appears below the eye. The reflection of the infrared LED array
+    used to illuminate the camera recording is visible in the pupil. This dataset
+    comes from the same experimental setup as 'DLC_rotating-mouse_eye-tracking_stim-black.predictions.h5',
+    but the visual stimulus is different (uniformly lit here vs dark in the 'black'
+    dataset).
+DLC_single-mouse_EPM.predictions.csv:
+  sha256sum: 859fe530407c1a2e229668c0fcd2693d24eadafb9e64ece845092ce53b96c3fd
+  source_software: DeepLabCut
+  type: poses
   fps: 30
-  species: "mouse"
+  species: mouse
   number_of_individuals: 1
   shared_by:
-    name: "Loukia Katsouri"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
-  frame: 
-    file_name: "single-mouse_EPM_frame-20sec.png"
-    sha256sum: "fad9caac919e7041d4312c988a94c18f262f30a9dfe28e37e58e330f325d855f"
+    name: Loukia Katsouri
+    affiliation: Sainsbury Wellcome Centre, UCL
+  frame:
+    file_name: single-mouse_EPM_frame-20sec.png
+    sha256sum: fad9caac919e7041d4312c988a94c18f262f30a9dfe28e37e58e330f325d855f
   video:
-    file_name: "single-mouse_EPM_video.mp4"
-    sha256sum: "17a0ef60d9015a63f73900b8bfb5297b3e0051ac1949c8c5107c41feb592e109"
-  note: "Exported from the .h5 file with the same prefix."
-
-"DLC_single-mouse_EPM.predictions.h5":
-  sha256sum: "e9c5a61790d6881d5639b2fd7c1c4afcb8521840d3d9a1bb613595529e06a7fc"
-  source_software: "DeepLabCut"
-  type: "poses"
+    file_name: single-mouse_EPM_video.mp4
+    sha256sum: 17a0ef60d9015a63f73900b8bfb5297b3e0051ac1949c8c5107c41feb592e109
+  note: Exported from the .h5 file with the same prefix.
+DLC_single-mouse_EPM.predictions.h5:
+  sha256sum: e9c5a61790d6881d5639b2fd7c1c4afcb8521840d3d9a1bb613595529e06a7fc
+  source_software: DeepLabCut
+  type: poses
   fps: 30
-  species: "mouse"
+  species: mouse
   number_of_individuals: 1
   shared_by:
-    name: "Loukia Katsouri"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
-  frame: 
-    file_name: "single-mouse_EPM_frame-20sec.png"
-    sha256sum: "fad9caac919e7041d4312c988a94c18f262f30a9dfe28e37e58e330f325d855f"
+    name: Loukia Katsouri
+    affiliation: Sainsbury Wellcome Centre, UCL
+  frame:
+    file_name: single-mouse_EPM_frame-20sec.png
+    sha256sum: fad9caac919e7041d4312c988a94c18f262f30a9dfe28e37e58e330f325d855f
   video:
-    file_name: "single-mouse_EPM_video.mp4"
-    sha256sum: "17a0ef60d9015a63f73900b8bfb5297b3e0051ac1949c8c5107c41feb592e109"
-  note: "Same data as in the .csv file with the same prefix."
-
-"DLC_single-mouse_pupil-tracking.predictions.h5":
-  sha256sum: "8ac61027ab24a95c22e320814c81f11bdcd3256e6e8519292acb155a14b8752d"
-  source_software: "DeepLabCut"
-  type: "poses"
+    file_name: single-mouse_EPM_video.mp4
+    sha256sum: 17a0ef60d9015a63f73900b8bfb5297b3e0051ac1949c8c5107c41feb592e109
+  note: Same data as in the .csv file with the same prefix.
+DLC_single-mouse_pupil-tracking.predictions.h5:
+  sha256sum: 8ac61027ab24a95c22e320814c81f11bdcd3256e6e8519292acb155a14b8752d
+  source_software: DeepLabCut
+  type: poses
   fps: 90
-  species: "mouse"
+  species: mouse
   number_of_individuals: 1
   shared_by:
-    name: "Adedamola (Dammy) Onih, Athena Akrami"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
-  frame: 
-    file_name: "single-mouse_pupil-tracking_frame-10sec.png"
-    sha256sum: "b1f13a7e8c72ecb3c5fde2143c54b4788da49acf0fdc1b29c721c3be252846b3"
+    name: Adedamola (Dammy) Onih, Athena Akrami
+    affiliation: Sainsbury Wellcome Centre, UCL
+  frame:
+    file_name: single-mouse_pupil-tracking_frame-10sec.png
+    sha256sum: b1f13a7e8c72ecb3c5fde2143c54b4788da49acf0fdc1b29c721c3be252846b3
   video:
-    file_name: "single-mouse_pupil-tracking_video.mp4"
-    sha256sum: "f1504cc38b88c50f38b8eedda061c70b89bab1695dce322bfbfb854a09191bcf"
-  note: "The left eye of a head-fixed mouse is tracked with 8 keypoints around the pupil and 2 keypoints at the eye corners."
-
-"DLC_single-wasp.predictions.csv":
-  sha256sum: "9b194cc930c2e2e0d33c816320d029f889b306d53ff2fe95ff408e99c9cdea23"
-  source_software: "DeepLabCut"
-  type: "poses"
+    file_name: single-mouse_pupil-tracking_video.mp4
+    sha256sum: f1504cc38b88c50f38b8eedda061c70b89bab1695dce322bfbfb854a09191bcf
+  note: The left eye of a head-fixed mouse is tracked with 8 keypoints around the
+    pupil and 2 keypoints at the eye corners.
+DLC_single-wasp.predictions.csv:
+  sha256sum: 9b194cc930c2e2e0d33c816320d029f889b306d53ff2fe95ff408e99c9cdea23
+  source_software: DeepLabCut
+  type: poses
   fps: 40
-  species: "jewel wasp"
+  species: jewel wasp
   number_of_individuals: 1
   shared_by:
-    name: "Sanna Titus"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Sanna Titus
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
-    file_name: "single-wasp_frame-10sec.png"
-    sha256sum: "d0d4ab3dceff93d3d192da6fe2427baffec8c2f23f2b1c8e997c4d004e816180"
+    file_name: single-wasp_frame-10sec.png
+    sha256sum: d0d4ab3dceff93d3d192da6fe2427baffec8c2f23f2b1c8e997c4d004e816180
   video:
     file_name: null
     sha256sum: null
   note: null
-
-"DLC_single-wasp.predictions.h5":
-  sha256sum: "931dddb6ef5e08db6054d3757a441ee31dd0d9ff5a10802ad8405d6c4e7e274e"
-  source_software: "DeepLabCut"
-  type: "poses"
+DLC_single-wasp.predictions.h5:
+  sha256sum: 931dddb6ef5e08db6054d3757a441ee31dd0d9ff5a10802ad8405d6c4e7e274e
+  source_software: DeepLabCut
+  type: poses
   fps: 40
-  species: "jewel wasp"
+  species: jewel wasp
   number_of_individuals: 1
   shared_by:
-    name: "Sanna Titus"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Sanna Titus
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
-    file_name: "single-wasp_frame-10sec.png"
-    sha256sum: "d0d4ab3dceff93d3d192da6fe2427baffec8c2f23f2b1c8e997c4d004e816180"
+    file_name: single-wasp_frame-10sec.png
+    sha256sum: d0d4ab3dceff93d3d192da6fe2427baffec8c2f23f2b1c8e997c4d004e816180
   video:
     file_name: null
     sha256sum: null
   note: null
-
-"DLC_two-mice.predictions.csv":
-  sha256sum: "6e891ab4e14a3ad74451ed0899f770b47aa3eb959d9824d3782827297d7c75e0"
-  source_software: "DeepLabCut"
-  type: "poses"
+DLC_two-mice.predictions.csv:
+  sha256sum: 6e891ab4e14a3ad74451ed0899f770b47aa3eb959d9824d3782827297d7c75e0
+  source_software: DeepLabCut
+  type: poses
   fps: 100
-  species: "mouse"
+  species: mouse
   number_of_individuals: 2
   shared_by:
-    name: "Dimokratis Karamanlis"
-    affiliation: "University of Geneva"
+    name: Dimokratis Karamanlis
+    affiliation: University of Geneva
   frame:
-    file_name: "two-mice_frame-600sec.png"
-    sha256sum: "28df9b0128150baf631e03254925eb6562f247b15192aab7abe84fb5b603a164"
+    file_name: two-mice_frame-600sec.png
+    sha256sum: 28df9b0128150baf631e03254925eb6562f247b15192aab7abe84fb5b603a164
   video:
     file_name: null
     sha256sum: null
-  note: "The two mice are separated by a barrier, so their trajectories should not cross if the identity tracking is correct."
-
-"DLC_smart-kage3_datetime-20240417T090006.predictions.h5":
-  sha256sum: "db5184c27bbdfd27591e6f4552ec9f523950f166f21c936cd9616db15be48888"
-  source_software: "DeepLabCut"
-  type: "poses"
+  note: The two mice are separated by a barrier, so their trajectories should not
+    cross if the identity tracking is correct.
+DLC_smart-kage3_datetime-20240417T090006.predictions.h5:
+  sha256sum: db5184c27bbdfd27591e6f4552ec9f523950f166f21c936cd9616db15be48888
+  source_software: DeepLabCut
+  type: poses
   fps: 2
-  species: "mouse"
+  species: mouse
   number_of_individuals: 1
   shared_by:
-    name: "Loukia Katsouri"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
-  frame: 
-    file_name: "smart-kage3_datetime-20240417T090006_frame-0.png"
-    sha256sum: "f6ade1e14de2db10f27ad6989d953dc56370980570b64d3e5adecaa0772897ec"
+    name: Loukia Katsouri
+    affiliation: Sainsbury Wellcome Centre, UCL
+  frame:
+    file_name: smart-kage3_datetime-20240417T090006_frame-0.png
+    sha256sum: f6ade1e14de2db10f27ad6989d953dc56370980570b64d3e5adecaa0772897ec
   video:
-    file_name: "smart-kage3_datetime-20240417T090006_video.mp4"
-    sha256sum: "1eb305f928768be6c88a327c8e3b651f7e114eec27cd7b143d529f0378df7446"
-  note: "This is the 1st out of three one-hour-long segments. The start datetime is given in the file name."
-
-"DLC_smart-kage3_datetime-20240417T100006.predictions.h5":
-  sha256sum: "c0d0b291f2d31e4d30b285f3c6f267750000c30e73db03ec789c3f6149e5b0bf"
-  source_software: "DeepLabCut"
-  type: "poses"
+    file_name: smart-kage3_datetime-20240417T090006_video.mp4
+    sha256sum: 1eb305f928768be6c88a327c8e3b651f7e114eec27cd7b143d529f0378df7446
+  note: This is the 1st out of three one-hour-long segments. The start datetime is
+    given in the file name.
+DLC_smart-kage3_datetime-20240417T100006.predictions.h5:
+  sha256sum: c0d0b291f2d31e4d30b285f3c6f267750000c30e73db03ec789c3f6149e5b0bf
+  source_software: DeepLabCut
+  type: poses
   fps: 2
-  species: "mouse"
+  species: mouse
   number_of_individuals: 1
   shared_by:
-    name: "Loukia Katsouri"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
-  frame: 
-    file_name: "smart-kage3_datetime-20240417T100006_frame-0.png"
-    sha256sum: "75929eaac7224907950c3e242a00ea4a98264a2316986cbf9f1b5a495f3a3052"
+    name: Loukia Katsouri
+    affiliation: Sainsbury Wellcome Centre, UCL
+  frame:
+    file_name: smart-kage3_datetime-20240417T100006_frame-0.png
+    sha256sum: 75929eaac7224907950c3e242a00ea4a98264a2316986cbf9f1b5a495f3a3052
   video:
-    file_name: "smart-kage3_datetime-20240417T100006_video.mp4"
-    sha256sum: "9c6af3ac70f55104673bd072297a642125af3f8f3970cacd346c95404f5f69be"
-  note: "This is the 2nd out of three one-hour-long segments. The start datetime is given in the file name."
-
-"DLC_smart-kage3_datetime-20240417T110006.predictions.h5":
-  sha256sum: "8d5a1c95fc84db4697f4d587da597aec596d646f88f33fa66c1d0d7fb997fd1f"
-  source_software: "DeepLabCut"
-  type: "poses"
+    file_name: smart-kage3_datetime-20240417T100006_video.mp4
+    sha256sum: 9c6af3ac70f55104673bd072297a642125af3f8f3970cacd346c95404f5f69be
+  note: This is the 2nd out of three one-hour-long segments. The start datetime is
+    given in the file name.
+DLC_smart-kage3_datetime-20240417T110006.predictions.h5:
+  sha256sum: 8d5a1c95fc84db4697f4d587da597aec596d646f88f33fa66c1d0d7fb997fd1f
+  source_software: DeepLabCut
+  type: poses
   fps: 2
-  species: "mouse"
+  species: mouse
   number_of_individuals: 1
   shared_by:
-    name: "Loukia Katsouri"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
-  frame: 
-    file_name: "smart-kage3_datetime-20240417T110006_frame-0.png"
-    sha256sum: "becf458a98a7f463a90bbffdcc558b74652f5dca942c89c90c91c9c39f5eb9d3"
+    name: Loukia Katsouri
+    affiliation: Sainsbury Wellcome Centre, UCL
+  frame:
+    file_name: smart-kage3_datetime-20240417T110006_frame-0.png
+    sha256sum: becf458a98a7f463a90bbffdcc558b74652f5dca942c89c90c91c9c39f5eb9d3
   video:
-    file_name: "smart-kage3_datetime-20240417T110006_video.mp4"
-    sha256sum: "8bc03c7598c1d776d604943be091ebcebb44d8a70a8a41b8d4e60a6fe4c29809"
-  note: "This is the 3rd out of three one-hour-long segments. The start datetime is given in the file name."
-
-"LP_mouse-face_AIND.predictions.csv":
-  sha256sum: "13620f20a3fbb20c9ef0ad6fd8898944d2cfe3e83c5fe18946b7592e0a718da2"
-  source_software: "LightningPose"
-  type: "poses"
+    file_name: smart-kage3_datetime-20240417T110006_video.mp4
+    sha256sum: 8bc03c7598c1d776d604943be091ebcebb44d8a70a8a41b8d4e60a6fe4c29809
+  note: This is the 3rd out of three one-hour-long segments. The start datetime is
+    given in the file name.
+LP_mouse-face_AIND.predictions.csv:
+  sha256sum: 13620f20a3fbb20c9ef0ad6fd8898944d2cfe3e83c5fe18946b7592e0a718da2
+  source_software: LightningPose
+  type: poses
   fps: 60
-  species: "mouse"
+  species: mouse
   number_of_individuals: 1
   shared_by:
-    name: "Shailaja Akella"
-    affiliation: "Allen Institute for Neural Dynamics"
-  frame: 
+    name: Shailaja Akella
+    affiliation: Allen Institute for Neural Dynamics
+  frame:
     file_name: null
     sha256sum: null
   video:
     file_name: null
     sha256sum: null
-  note: "The predictions come from a video of a mouse's face, while performing the Allen 'visual behavior neuropixels' task"
-
-"LP_mouse-twoview_AIND.predictions.csv":
-  sha256sum: "22cded593ff77226dffab3c10f87874e597d86d70d62a81e5c4c690a96fd1e49"
-  source_software: "LightningPose"
-  type: "poses"
+  note: The predictions come from a video of a mouse's face, while performing the
+    Allen 'visual behavior neuropixels' task
+LP_mouse-twoview_AIND.predictions.csv:
+  sha256sum: 22cded593ff77226dffab3c10f87874e597d86d70d62a81e5c4c690a96fd1e49
+  source_software: LightningPose
+  type: poses
   fps: 30
-  species: "mouse"
+  species: mouse
   number_of_individuals: 1
   shared_by:
-    name: "Shailaja Akella"
-    affiliation: "Allen Institute for Neural Dynamics"
-  frame: 
+    name: Shailaja Akella
+    affiliation: Allen Institute for Neural Dynamics
+  frame:
     file_name: null
     sha256sum: null
   video:
     file_name: null
     sha256sum: null
-  note: "The predictions come from a concatenated video consisting of a frontal and a side view of a mouse, while performing the Allen 'visual behavior neuropixels' task"
-
-
-"SLEAP_single-mouse_EPM.analysis.h5":
-  sha256sum: "33f8e21961ded2081495a75997391835ce4596049d8ab497ebd761124d9b0ac2"
-  source_software: "SLEAP"
-  type: "poses"
+  note: The predictions come from a concatenated video consisting of a frontal and
+    a side view of a mouse, while performing the Allen 'visual behavior neuropixels'
+    task
+SLEAP_single-mouse_EPM.analysis.h5:
+  sha256sum: 33f8e21961ded2081495a75997391835ce4596049d8ab497ebd761124d9b0ac2
+  source_software: SLEAP
+  type: poses
   fps: 30
-  species: "mouse"
+  species: mouse
   number_of_individuals: 1
   shared_by:
-    name: "Niko Sirmpilatze"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Niko Sirmpilatze
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
-    file_name: "single-mouse_EPM_frame-20sec.png"
-    sha256sum: "fad9caac919e7041d4312c988a94c18f262f30a9dfe28e37e58e330f325d855f"
+    file_name: single-mouse_EPM_frame-20sec.png
+    sha256sum: fad9caac919e7041d4312c988a94c18f262f30a9dfe28e37e58e330f325d855f
   video:
-    file_name: "single-mouse_EPM_video.mp4"
-    sha256sum: "17a0ef60d9015a63f73900b8bfb5297b3e0051ac1949c8c5107c41feb592e109"
-  note: "This was exported from the .slp file with the same prefix. The underlying video is the same as for DLC_single-mouse_EPM, and was provided by Loukia Katsouri."
-
-"SLEAP_single-mouse_EPM.predictions.slp":
-  sha256sum: "42c2e6e14aa57d61a9ed7e1eae56562c1e95d275d227c304f6d89f919775f656"
-  source_software: "SLEAP"
-  type: "poses"
+    file_name: single-mouse_EPM_video.mp4
+    sha256sum: 17a0ef60d9015a63f73900b8bfb5297b3e0051ac1949c8c5107c41feb592e109
+  note: This was exported from the .slp file with the same prefix. The underlying
+    video is the same as for DLC_single-mouse_EPM, and was provided by Loukia Katsouri.
+SLEAP_single-mouse_EPM.predictions.slp:
+  sha256sum: 42c2e6e14aa57d61a9ed7e1eae56562c1e95d275d227c304f6d89f919775f656
+  source_software: SLEAP
+  type: poses
   fps: 30
-  species: "mouse"
+  species: mouse
   number_of_individuals: 1
   shared_by:
-    name: "Niko Sirmpilatze"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Niko Sirmpilatze
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
-    file_name: "single-mouse_EPM_frame-20sec.png"
-    sha256sum: "fad9caac919e7041d4312c988a94c18f262f30a9dfe28e37e58e330f325d855f"
+    file_name: single-mouse_EPM_frame-20sec.png
+    sha256sum: fad9caac919e7041d4312c988a94c18f262f30a9dfe28e37e58e330f325d855f
   video:
-    file_name: "single-mouse_EPM_video.mp4"
-    sha256sum: "17a0ef60d9015a63f73900b8bfb5297b3e0051ac1949c8c5107c41feb592e109"
-  note: "This corresponds to the .h5 file with the same prefix. The underlying video is the same as for DLC_single-mouse_EPM, and was provided by Loukia Katsouri."
-
-"SLEAP_three-mice_Aeon_mixed-labels.analysis.h5":
-  sha256sum: "899651ec027eb8fd6181246f89142ad1c0a40f14394fc8144d44ea093c0e137d"
-  source_software: "SLEAP"
-  type: "poses"
+    file_name: single-mouse_EPM_video.mp4
+    sha256sum: 17a0ef60d9015a63f73900b8bfb5297b3e0051ac1949c8c5107c41feb592e109
+  note: This corresponds to the .h5 file with the same prefix. The underlying video
+    is the same as for DLC_single-mouse_EPM, and was provided by Loukia Katsouri.
+SLEAP_three-mice_Aeon_mixed-labels.analysis.h5:
+  sha256sum: 899651ec027eb8fd6181246f89142ad1c0a40f14394fc8144d44ea093c0e137d
+  source_software: SLEAP
+  type: poses
   fps: 50
-  species: "mouse"
+  species: mouse
   number_of_individuals: 3
   shared_by:
-    name: "Chang Huan Lo"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Chang Huan Lo
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
-    file_name: "three-mice_Aeon_frame-5sec.png"
-    sha256sum: "889e1bbee6cb23eb6d52820748123579acbd0b2a7265cf72a903dabb7fcc3d1a"
+    file_name: three-mice_Aeon_frame-5sec.png
+    sha256sum: 889e1bbee6cb23eb6d52820748123579acbd0b2a7265cf72a903dabb7fcc3d1a
   video:
-    file_name: "three-mice_Aeon_video.avi"
-    sha256sum: "bc7406442c90467f11a982fd6efd85258ec5ec7748228b245caf0358934f0e7d"
-  note: "Contains a mix of predicted and user-defined labels. It was exported from the .slp file with the same prefix."
-
-"SLEAP_three-mice_Aeon_mixed-labels.predictions.slp":
-  sha256sum: "6d3f2c5446e9c12aabf28d5a9470835736b0419dcefebba89c305114f83b82d1"
-  source_software: "SLEAP"
-  type: "poses"
+    file_name: three-mice_Aeon_video.avi
+    sha256sum: bc7406442c90467f11a982fd6efd85258ec5ec7748228b245caf0358934f0e7d
+  note: Contains a mix of predicted and user-defined labels. It was exported from
+    the .slp file with the same prefix.
+SLEAP_three-mice_Aeon_mixed-labels.predictions.slp:
+  sha256sum: 6d3f2c5446e9c12aabf28d5a9470835736b0419dcefebba89c305114f83b82d1
+  source_software: SLEAP
+  type: poses
   fps: 50
-  species: "mouse"
+  species: mouse
   number_of_individuals: 3
   shared_by:
-    name: "Chang Huan Lo"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Chang Huan Lo
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
-    file_name: "three-mice_Aeon_frame-5sec.png"
-    sha256sum: "889e1bbee6cb23eb6d52820748123579acbd0b2a7265cf72a903dabb7fcc3d1a"
+    file_name: three-mice_Aeon_frame-5sec.png
+    sha256sum: 889e1bbee6cb23eb6d52820748123579acbd0b2a7265cf72a903dabb7fcc3d1a
   video:
-    file_name: "three-mice_Aeon_video.avi"
-    sha256sum: "bc7406442c90467f11a982fd6efd85258ec5ec7748228b245caf0358934f0e7d"
-  note: "Contains a mix of predicted and user-defined labels. It corresponds to the .h5 file with the same prefix."
-
-"SLEAP_three-mice_Aeon_proofread.analysis.h5":
-  sha256sum: "82ebd281c406a61536092863bc51d1a5c7c10316275119f7daf01c1ff33eac2a"
-  source_software: "SLEAP"
-  type: "poses"
+    file_name: three-mice_Aeon_video.avi
+    sha256sum: bc7406442c90467f11a982fd6efd85258ec5ec7748228b245caf0358934f0e7d
+  note: Contains a mix of predicted and user-defined labels. It corresponds to the
+    .h5 file with the same prefix.
+SLEAP_three-mice_Aeon_proofread.analysis.h5:
+  sha256sum: 82ebd281c406a61536092863bc51d1a5c7c10316275119f7daf01c1ff33eac2a
+  source_software: SLEAP
+  type: poses
   fps: 50
-  species: "mouse"
+  species: mouse
   number_of_individuals: 3
   shared_by:
-    name: "Chang Huan Lo"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Chang Huan Lo
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
-    file_name: "three-mice_Aeon_frame-5sec.png"
-    sha256sum: "889e1bbee6cb23eb6d52820748123579acbd0b2a7265cf72a903dabb7fcc3d1a"
+    file_name: three-mice_Aeon_frame-5sec.png
+    sha256sum: 889e1bbee6cb23eb6d52820748123579acbd0b2a7265cf72a903dabb7fcc3d1a
   video:
-    file_name: "three-mice_Aeon_video.avi"
-    sha256sum: "bc7406442c90467f11a982fd6efd85258ec5ec7748228b245caf0358934f0e7d"
-  note: "All labels were proofread (user-defined) and can be considered ground truth. It was exported from the .slp file with the same prefix."
-
-"SLEAP_three-mice_Aeon_proofread.predictions.slp":
-  sha256sum: "7b7436a52dfd5f4d80d7c66919ad1a1732e5435fe33faf9011ec5f7b7074e788"
-  source_software: "SLEAP"
-  type: "poses"
+    file_name: three-mice_Aeon_video.avi
+    sha256sum: bc7406442c90467f11a982fd6efd85258ec5ec7748228b245caf0358934f0e7d
+  note: All labels were proofread (user-defined) and can be considered ground truth.
+    It was exported from the .slp file with the same prefix.
+SLEAP_three-mice_Aeon_proofread.predictions.slp:
+  sha256sum: 7b7436a52dfd5f4d80d7c66919ad1a1732e5435fe33faf9011ec5f7b7074e788
+  source_software: SLEAP
+  type: poses
   fps: 50
-  species: "mouse"
+  species: mouse
   number_of_individuals: 3
   shared_by:
-    name: "Chang Huan Lo"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Chang Huan Lo
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
-    file_name: "three-mice_Aeon_frame-5sec.png"
-    sha256sum: "889e1bbee6cb23eb6d52820748123579acbd0b2a7265cf72a903dabb7fcc3d1a"
+    file_name: three-mice_Aeon_frame-5sec.png
+    sha256sum: 889e1bbee6cb23eb6d52820748123579acbd0b2a7265cf72a903dabb7fcc3d1a
   video:
-    file_name: "three-mice_Aeon_video.avi"
-    sha256sum: "bc7406442c90467f11a982fd6efd85258ec5ec7748228b245caf0358934f0e7d"
-  note: "All labels were proofread (user-defined) and can be considered ground truth. It corresponds to the .h5 file with the same prefix."
-
-"SLEAP_two-mice_octagon.analysis.h5":
-  sha256sum: "358ec029988421cb77cd0ec1d5bab86dd4b4f8719e6410832146cfdb84a28931"
-  source_software: "SLEAP"
-  type: "poses"
+    file_name: three-mice_Aeon_video.avi
+    sha256sum: bc7406442c90467f11a982fd6efd85258ec5ec7748228b245caf0358934f0e7d
+  note: All labels were proofread (user-defined) and can be considered ground truth.
+    It corresponds to the .h5 file with the same prefix.
+SLEAP_two-mice_octagon.analysis.h5:
+  sha256sum: 358ec029988421cb77cd0ec1d5bab86dd4b4f8719e6410832146cfdb84a28931
+  source_software: SLEAP
+  type: poses
   fps: 50
-  species: "mouse"
+  species: mouse
   number_of_individuals: 2
   shared_by:
-    name: "Mehul Rastogi, Chunyu Ann Duan"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Mehul Rastogi, Chunyu Ann Duan
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
-    file_name: "two-mice_octagon_frame-10sec.png"
-    sha256sum: "56185ecf2e8f176ac39af29d51bfa1ccf85a11bd7cacfb4d9f5615b61c20f438"
+    file_name: two-mice_octagon_frame-10sec.png
+    sha256sum: 56185ecf2e8f176ac39af29d51bfa1ccf85a11bd7cacfb4d9f5615b61c20f438
   video:
-    file_name: "two-mice_octagon_video.mp4"
-    sha256sum: "43dfdbd3cec4768e564c79a71dd218d4f1219e36dec18d78e5e24f15df7da9d2"
-  note: "Two mice competing for rewards in an octagonal arena, see https://doi.org/10.1101/2025.02.14.638359."
-
-"SLEAP_two-mice_social-interaction.analysis.h5":
-  sha256sum: "f7f1e59d4b2c34712089f8aaf2390272291d93e6991c1abe32d9ce798a6234f9"
-  source_software: "SLEAP"
-  type: "poses"
+    file_name: two-mice_octagon_video.mp4
+    sha256sum: 43dfdbd3cec4768e564c79a71dd218d4f1219e36dec18d78e5e24f15df7da9d2
+  note: Two mice competing for rewards in an octagonal arena, see https://doi.org/10.1101/2025.02.14.638359.
+SLEAP_two-mice_social-interaction.analysis.h5:
+  sha256sum: f7f1e59d4b2c34712089f8aaf2390272291d93e6991c1abe32d9ce798a6234f9
+  source_software: SLEAP
+  type: poses
   fps: 90
-  species: "mouse"
+  species: mouse
   number_of_individuals: 2
   shared_by:
-    name: "Laura Schwarz"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Laura Schwarz
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
     file_name: null
     sha256sum: null
   video:
     file_name: null
     sha256sum: null
-  note: "The tracks have not been fully corrected, they still contain identity switches. This file does NOT correspond to the .slp file with the same prefix."
-
-"SLEAP_two-mice_social-interaction.predictions.slp":
-  sha256sum: "45881affde9704c045e70b8d4b3f6bbb8d9bd8ef9f4cdea6d173cfe35857549b"
-  source_software: "SLEAP"
-  type: "poses"
+  note: The tracks have not been fully corrected, they still contain identity switches.
+    This file does NOT correspond to the .slp file with the same prefix.
+SLEAP_two-mice_social-interaction.predictions.slp:
+  sha256sum: 45881affde9704c045e70b8d4b3f6bbb8d9bd8ef9f4cdea6d173cfe35857549b
+  source_software: SLEAP
+  type: poses
   fps: 90
-  species: "mouse"
+  species: mouse
   number_of_individuals: 2
   shared_by:
-    name: "Laura Schwarz"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Laura Schwarz
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
     file_name: null
     sha256sum: null
   video:
     file_name: null
     sha256sum: null
-  note: "The tracks have not been fully corrected, there may be more tracks than mice. This file does NOT correspond to the .h5 file with the same prefix."
-
-"VIA_multiple-crabs_5-frames_labels.csv":
-  sha256sum: "98de641c2577b210263ea85b02a0c7bf17d144ed9268730242a7d5869f86434b" 
-  source_software: "VIA-tracks"
-  type: "bboxes"
+  note: The tracks have not been fully corrected, there may be more tracks than mice.
+    This file does NOT correspond to the .h5 file with the same prefix.
+VIA_multiple-crabs_5-frames_labels.csv:
+  sha256sum: 98de641c2577b210263ea85b02a0c7bf17d144ed9268730242a7d5869f86434b
+  source_software: VIA-tracks
+  type: bboxes
   fps: null
-  species: "crab"
+  species: crab
   number_of_individuals: null
   shared_by:
-    name: "Sanna Titus"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Sanna Titus
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
     file_name: null
     sha256sum: null
   video:
     file_name: null
     sha256sum: null
-  note: "This file contains manually corrected predictions for tracked bounding boxes for 90 individuals over 5 frames. "
-  
-"VIA_multiple-crabs_5-frames_labels_missing.csv":
-  sha256sum: "a5193509ddb9f132ab223e98a0f7d84fc3fa57c2a80052e0d1a4fa29813911fb"
-  source_software: "VIA-tracks"
-  type: "bboxes"
+  note: 'This file contains manually corrected predictions for tracked bounding boxes
+    for 90 individuals over 5 frames. '
+VIA_multiple-crabs_5-frames_labels_missing.csv:
+  sha256sum: a5193509ddb9f132ab223e98a0f7d84fc3fa57c2a80052e0d1a4fa29813911fb
+  source_software: VIA-tracks
+  type: bboxes
   fps: null
-  species: "crab"
+  species: crab
   number_of_individuals: null
   shared_by:
-    name: "Sanna Titus"
-    affiliation: "Sainsbury Wellcome Centre, UCL"
+    name: Sanna Titus
+    affiliation: Sainsbury Wellcome Centre, UCL
   frame:
     file_name: null
     sha256sum: null
   video:
     file_name: null
     sha256sum: null
-  note: "This file is modified from VIA_multiple-crabs_5-frames_labels.csv, such that individual id_71 is only present in frames 1 and 3. The rest of individuals are present in all frames. "  
-  
-"VIA_single-crab_MOCA-crab-1.csv":
-  sha256sum: "a473a36585d1802d276dd3b605c9adab74df6e5658c962395ff9299cac2c58f5"
-  source_software: "VIA-tracks"
-  type: "bboxes"
+  note: 'This file is modified from VIA_multiple-crabs_5-frames_labels.csv, such that
+    individual id_71 is only present in frames 1 and 3. The rest of individuals are
+    present in all frames. '
+VIA_single-crab_MOCA-crab-1.csv:
+  sha256sum: a473a36585d1802d276dd3b605c9adab74df6e5658c962395ff9299cac2c58f5
+  source_software: VIA-tracks
+  type: bboxes
   fps: 24
-  species: "crab"
+  species: crab
   number_of_individuals: 1
   shared_by:
-    name: "MoCA - Moving Camouflaged Animals Dataset"
-    affiliation: "Visual Geometry Group, University of Oxford"
+    name: MoCA - Moving Camouflaged Animals Dataset
+    affiliation: Visual Geometry Group, University of Oxford
   frame:
-    file_name: "single-crab_MOCA-crab-1_frame-0.jpg"
-    sha256sum: "02d3977371ffc31ff51364e0487e097e9d072075e811e9b869967a92ecf67501"
+    file_name: single-crab_MOCA-crab-1_frame-0.jpg
+    sha256sum: 02d3977371ffc31ff51364e0487e097e9d072075e811e9b869967a92ecf67501
   video:
-    file_name: "single-crab_MOCA-crab-1_video.mp4"
-    sha256sum: "98b70c1e19b072158f50685ca55c3a7b01a94c0400091223fe750db8e3cf2a16"
-  note: "The video is 168 frames long, but the file contains annotations for 35 frames only (1 every 5 frames in the video, plus the first and the last frame). "
-
-"VIA_single-crab_MOCA-crab-1_linear-interp.csv":
-  sha256sum: "793c280faaa1c3e1fb32148e16c0ce3102a03006fa5b141b9762d01a7c0aa262"
-  source_software: "VIA-tracks"
-  type: "bboxes"
+    file_name: single-crab_MOCA-crab-1_video.mp4
+    sha256sum: 98b70c1e19b072158f50685ca55c3a7b01a94c0400091223fe750db8e3cf2a16
+  note: 'The video is 168 frames long, but the file contains annotations for 35 frames
+    only (1 every 5 frames in the video, plus the first and the last frame). '
+VIA_single-crab_MOCA-crab-1_linear-interp.csv:
+  sha256sum: 793c280faaa1c3e1fb32148e16c0ce3102a03006fa5b141b9762d01a7c0aa262
+  source_software: VIA-tracks
+  type: bboxes
   fps: 24
-  species: "crab"
+  species: crab
   number_of_individuals: 1
   shared_by:
-    name: "GitHub contributor Mahima Sahu (@Mahi7828), modified from 'MoCA - Moving Camouflaged Animals Dataset'"
-    affiliation: "IIT Bombay"
+    name: GitHub contributor Mahima Sahu (@Mahi7828), modified from 'MoCA - Moving
+      Camouflaged Animals Dataset'
+    affiliation: IIT Bombay
   frame:
-    file_name: "single-crab_MOCA-crab-1_frame-0.jpg"
-    sha256sum: "02d3977371ffc31ff51364e0487e097e9d072075e811e9b869967a92ecf67501"
+    file_name: single-crab_MOCA-crab-1_frame-0.jpg
+    sha256sum: 02d3977371ffc31ff51364e0487e097e9d072075e811e9b869967a92ecf67501
   video:
-    file_name: "single-crab_MOCA-crab-1_video.mp4"
-    sha256sum: "98b70c1e19b072158f50685ca55c3a7b01a94c0400091223fe750db8e3cf2a16"
-  note: "This file is the linearly interpolated version of the VIA_single-crab_MOCA-crab-1.csv file. "
-
-"anipose_mouse-paw_anipose-paper.triangulation.csv":
-  sha256sum: "5ccd549bc122154b0e4a6bd01b4a8ee6f21c28dc3e1651a19dd0dd09f89d64e6"
-  source_software: "Anipose"
-  type: "poses"
+    file_name: single-crab_MOCA-crab-1_video.mp4
+    sha256sum: 98b70c1e19b072158f50685ca55c3a7b01a94c0400091223fe750db8e3cf2a16
+  note: 'This file is the linearly interpolated version of the VIA_single-crab_MOCA-crab-1.csv
+    file. '
+anipose_mouse-paw_anipose-paper.triangulation.csv:
+  sha256sum: 5ccd549bc122154b0e4a6bd01b4a8ee6f21c28dc3e1651a19dd0dd09f89d64e6
+  source_software: Anipose
+  type: poses
   fps: 200
-  species: "mouse"
+  species: mouse
   number_of_individuals: 1
   shared_by:
-    name: "Tuthill lab"
-    affiliation: "University of Washington"
+    name: Tuthill lab
+    affiliation: University of Washington
   frame:
     file_name: null
     sha256sum: null
   video:
     file_name: null
     sha256sum: null
-  note: "This file was provided by the Tuthill lab, and is used in the Anipose paper."
-
-"TRex_five-locusts.zip":
-  sha256sum: "253d10009d22786233c9ecf2af9e25db549b89362ffc5a0ab59deb2789782205"
-  source_software: "TRex"
-  type: "poses"
+  note: This file was provided by the Tuthill lab, and is used in the Anipose paper.
+TRex_five-locusts.zip:
+  sha256sum: 253d10009d22786233c9ecf2af9e25db549b89362ffc5a0ab59deb2789782205
+  source_software: TRex
+  type: poses
   fps: 5
-  species: "locust"
+  species: locust
   number_of_individuals: 5
   shared_by:
-    name: "Angela Albi"
-    affiliation: "Department of Collective Behaviour, Max Planck Institute of Animal Behavior"
+    name: Angela Albi
+    affiliation: Department of Collective Behaviour, Max Planck Institute of Animal
+      Behavior
   frame:
-    file_name: "locusts-noqr_n-5_date-20250117_frame-bg.png"
-    sha256sum: "53ae76c5980d2988e329f0d74a88c11376e637bafd77342c6c9ccf0ecbb5da6f"
+    file_name: locusts-noqr_n-5_date-20250117_frame-bg.png
+    sha256sum: 53ae76c5980d2988e329f0d74a88c11376e637bafd77342c6c9ccf0ecbb5da6f
   video:
     file_name: null
     sha256sum: null
-  note: "5 locusts (Schistocerca gregaria) in a 60cm diameter custom-built arena. Corresponds to locusts-noqr_202501117_5 in the data source. The original video was recorded at 5 fps, but the playback in the associated video file (https://edmond.mpg.de/file.xhtml?fileId=265442&version=1.0) is set to 30 frames per second."
+  note: 5 locusts (Schistocerca gregaria) in a 60cm diameter custom-built arena. Corresponds
+    to locusts-noqr_202501117_5 in the data source. The original video was recorded
+    at 5 fps, but the playback in the associated video file (https://edmond.mpg.de/file.xhtml?fileId=265442&version=1.0)
+    is set to 30 frames per second.

+ 0 - 24
poses_hashes.txt

@@ -1,24 +0,0 @@
-DLC_rotating-mouse_eye-tracking_stim-black.predictions.h5 6d76f75ee076fadf004f4dd48c47e3f47acafb351da556670aa2c1be543ab049
-DLC_rotating-mouse_eye-tracking_stim-uniform.predictions.h5 bd8bd6bbd95bc998d863dc78fb42a40e47e9e0b37f700384f16546bd3b738b95
-DLC_single-mouse_EPM.predictions.csv 859fe530407c1a2e229668c0fcd2693d24eadafb9e64ece845092ce53b96c3fd
-DLC_single-mouse_EPM.predictions.h5 e9c5a61790d6881d5639b2fd7c1c4afcb8521840d3d9a1bb613595529e06a7fc
-DLC_single-mouse_pupil-tracking.predictions.h5 8ac61027ab24a95c22e320814c81f11bdcd3256e6e8519292acb155a14b8752d
-DLC_single-wasp.predictions.csv 9b194cc930c2e2e0d33c816320d029f889b306d53ff2fe95ff408e99c9cdea23
-DLC_single-wasp.predictions.h5 931dddb6ef5e08db6054d3757a441ee31dd0d9ff5a10802ad8405d6c4e7e274e
-DLC_smart-kage3_datetime-20240417T090006.predictions.h5 db5184c27bbdfd27591e6f4552ec9f523950f166f21c936cd9616db15be48888
-DLC_smart-kage3_datetime-20240417T100006.predictions.h5 c0d0b291f2d31e4d30b285f3c6f267750000c30e73db03ec789c3f6149e5b0bf
-DLC_smart-kage3_datetime-20240417T110006.predictions.h5 8d5a1c95fc84db4697f4d587da597aec596d646f88f33fa66c1d0d7fb997fd1f
-DLC_two-mice.predictions.csv 6e891ab4e14a3ad74451ed0899f770b47aa3eb959d9824d3782827297d7c75e0
-LP_mouse-face_AIND.predictions.csv 13620f20a3fbb20c9ef0ad6fd8898944d2cfe3e83c5fe18946b7592e0a718da2
-LP_mouse-twoview_AIND.predictions.csv 22cded593ff77226dffab3c10f87874e597d86d70d62a81e5c4c690a96fd1e49
-SLEAP_single-mouse_EPM.analysis.h5 33f8e21961ded2081495a75997391835ce4596049d8ab497ebd761124d9b0ac2
-SLEAP_single-mouse_EPM.predictions.slp 42c2e6e14aa57d61a9ed7e1eae56562c1e95d275d227c304f6d89f919775f656
-SLEAP_three-mice_Aeon_mixed-labels.analysis.h5 899651ec027eb8fd6181246f89142ad1c0a40f14394fc8144d44ea093c0e137d
-SLEAP_three-mice_Aeon_mixed-labels.predictions.slp 6d3f2c5446e9c12aabf28d5a9470835736b0419dcefebba89c305114f83b82d1
-SLEAP_three-mice_Aeon_proofread.analysis.h5 82ebd281c406a61536092863bc51d1a5c7c10316275119f7daf01c1ff33eac2a
-SLEAP_three-mice_Aeon_proofread.predictions.slp 7b7436a52dfd5f4d80d7c66919ad1a1732e5435fe33faf9011ec5f7b7074e788
-SLEAP_two-mice_octagon.analysis.h5 358ec029988421cb77cd0ec1d5bab86dd4b4f8719e6410832146cfdb84a28931
-SLEAP_two-mice_social-interaction.analysis.h5 f7f1e59d4b2c34712089f8aaf2390272291d93e6991c1abe32d9ce798a6234f9
-SLEAP_two-mice_social-interaction.predictions.slp 45881affde9704c045e70b8d4b3f6bbb8d9bd8ef9f4cdea6d173cfe35857549b
-TRex_five-locusts.zip 253d10009d22786233c9ecf2af9e25db549b89362ffc5a0ab59deb2789782205
-anipose_mouse-paw_anipose-paper.triangulation.csv 5ccd549bc122154b0e4a6bd01b4a8ee6f21c28dc3e1651a19dd0dd09f89d64e6

+ 119 - 0
update_hashes.py

@@ -0,0 +1,119 @@
+"""Compute sha256 hashes for files and update metadata.yaml."""
+
+from pathlib import Path
+
+import yaml
+from pooch.hashes import file_hash
+
+
+def _update_file_hash(
+    file_path: Path,
+    metadata_dict: dict,
+    hash_key: str,
+) -> None:
+    """Update hash for a single file if the file exists and hash differs.
+
+    Parameters
+    ----------
+    file_path : Path
+        Path to the file to check and update hash for.
+    metadata_dict : dict
+        The metadata dictionary to update.
+    hash_key : str
+        The key in metadata_dict where the hash should be stored.
+
+    """
+    existing_hash = metadata_dict[hash_key]
+    if file_path.exists():
+        computed_hash = file_hash(file_path.as_posix())
+        if existing_hash != computed_hash or existing_hash is None:
+            metadata_dict[hash_key] = computed_hash
+            print(
+                f"Updated hash for {file_path.name}: "
+                f"{existing_hash} -> {computed_hash}"
+            )
+    else:
+        print(f"WARNING: Could not find {file_path}.")
+
+
+def _update_dataset_hashes(sample_metadata: dict, root_dir: Path) -> None:
+    """Update all hashes (dataset, frame, video) for a single dataset.
+
+    Parameters
+    ----------
+    sample_metadata : dict
+        Metadata dictionary for a single sample dataset.
+    root_dir : Path
+        Root of the sample data directory.
+
+    """
+    filename = list(sample_metadata.keys())[0]
+    sample_metadata = sample_metadata[filename]
+    ds_type = sample_metadata["type"]
+
+    # Update main dataset hash
+    dataset_path = root_dir / ds_type / filename
+    _update_file_hash(
+        file_path=dataset_path,
+        metadata_dict=sample_metadata,
+        hash_key="sha256sum",
+    )
+    
+    # Update frame hash if frame file exists
+    frame_file_name = sample_metadata["frame"]["file_name"]
+    if frame_file_name is not None:
+        frame_path = root_dir / "frames" / frame_file_name
+        _update_file_hash(
+            file_path=frame_path,
+            metadata_dict=sample_metadata["frame"],
+            hash_key="sha256sum",
+        )
+    
+    # Update video hash if video file exists
+    video_file_name = sample_metadata["video"]["file_name"]
+    if video_file_name is not None:
+        video_path = root_dir / "videos" / video_file_name
+        _update_file_hash(
+            file_path=video_path,
+            metadata_dict=sample_metadata["video"],
+            hash_key="sha256sum",
+        )
+
+
+def update_hashes_in_metadata(metadata_path: Path):
+    """Update metadata.yaml with computed SHA256 hashes.
+
+    Parameters
+    ----------
+    metadata_path : Path
+        Path to the metadata.yaml file, which should be in the root
+        of the sample data directory.
+
+    """
+    # Load existing metadata
+    with open(metadata_path) as f:
+        metadata = yaml.safe_load(f)
+
+    # Get folder where metadata.yaml is located
+    root_dir = metadata_path.parent
+
+    # Update hashes for each dataset
+    for sample_name in metadata:
+        sample_metadata = {sample_name: metadata[sample_name]}
+        _update_dataset_hashes(sample_metadata, root_dir)
+
+    # Save updated metadata
+    with open(metadata_path, 'w') as f:
+        yaml.dump(
+            metadata,
+            f,
+            default_flow_style=False,
+            sort_keys=False,
+        )
+
+    print("Metadata updated successfully!")
+
+
+if __name__ == "__main__":
+    metadata_path = Path.cwd() / "metadata.yaml"
+    update_hashes_in_metadata(metadata_path)

+ 0 - 10
videos_hashes.txt

@@ -1,10 +0,0 @@
-rotating-mouse_eye-tracking_stim-black_video.mp4 a7972d5dde19a1f994fc72a23ee693102a5e3ee59bc386273ca089354fde07b5
-rotating-mouse_eye-tracking_stim-uniform_video.mp4 9a0c099d40c31c138c406236a5900544961956b2c0e0ff3536f34b0465a5874f
-single-crab_MOCA-crab-1_video.mp4 98b70c1e19b072158f50685ca55c3a7b01a94c0400091223fe750db8e3cf2a16
-single-mouse_EPM_video.mp4 17a0ef60d9015a63f73900b8bfb5297b3e0051ac1949c8c5107c41feb592e109
-single-mouse_pupil-tracking_video.mp4 f1504cc38b88c50f38b8eedda061c70b89bab1695dce322bfbfb854a09191bcf
-smart-kage3_datetime-20240417T090006_video.mp4 1eb305f928768be6c88a327c8e3b651f7e114eec27cd7b143d529f0378df7446
-smart-kage3_datetime-20240417T100006_video.mp4 9c6af3ac70f55104673bd072297a642125af3f8f3970cacd346c95404f5f69be
-smart-kage3_datetime-20240417T110006_video.mp4 8bc03c7598c1d776d604943be091ebcebb44d8a70a8a41b8d4e60a6fe4c29809
-three-mice_Aeon_video.avi bc7406442c90467f11a982fd6efd85258ec5ec7748228b245caf0358934f0e7d
-two-mice_octagon_video.mp4 43dfdbd3cec4768e564c79a71dd218d4f1219e36dec18d78e5e24f15df7da9d2