Selaa lähdekoodia

Add hash generation script and first file registry

sfmig 1 vuosi sitten
vanhempi
commit
5c1125baac
2 muutettua tiedostoa jossa 13 lisäystä ja 0 poistoa
  1. 4 0
      files-registry.txt
  2. 9 0
      get_sha256_hashes.py

+ 4 - 0
files-registry.txt

@@ -0,0 +1,4 @@
+valid_COCO_annotations_untracked/COCO_JSON_sample_1.json 8bdea1ed408aaf6ad5eb8deed2f47c16fcff35697ad4983f59afb7462de9c5df
+valid_COCO_annotations_untracked/COCO_JSON_sample_2.json 7ea3d6d152921294e0ab71740249c87eb5aecbb95a2b6554ab3e89a1d4e59b82
+valid_VIA_annotations_untracked/VIA_JSON_sample_1.json 3d197d8fbd6121a32d729486c7511eb6d8451371a67fbae791a2309f27c8fb19
+valid_VIA_annotations_untracked/VIA_JSON_sample_2.json d2162c26bcd3e1d543155208069c3fa42ef60302f56088e0ee4bb5fd164f7213

+ 9 - 0
get_sha256_hashes.py

@@ -0,0 +1,9 @@
+"""Compute sha256 hashes for all files"""
+
+import pooch
+
+if __name__ == "__main__":
+    pooch.make_registry(
+        "test_data",
+        "files-registry.txt",  # destination file
+    )