فهرست منبع

add example of missing parents in response

Kimberly Meechan 5 ماه پیش
والد
کامیت
7ba261629e
2فایلهای تغییر یافته به همراه29 افزوده شده و 1 حذف شده
  1. 27 0
      pyrat-api-multiple-responses-offspring.json
  2. 2 1
      pyrat-api-multiple-responses.csv

+ 27 - 0
pyrat-api-multiple-responses-offspring.json

@@ -202,5 +202,32 @@
                 "parent_cagenumber": "B2"
             }
         ]
+    },
+    {
+        "animalid": 6,
+        "eartag_or_id": "ID-006",
+        "species_name": "Mouse",
+        "sacrifice_reason_name": "Not usable age",
+        "dateborn": "2026-02-08T00:00:00",
+        "strain_name": "Line-AB",
+        "mutations": [
+            {
+                "animalid": 6,
+                "mutation_id": 5,
+                "mutationname": "Mut-A",
+                "mutationtype": "BAC transgenic",
+                "grade_id": 5,
+                "mutationgrade": "het"
+            },
+            {
+                "animalid": 6,
+                "mutation_id": 5,
+                "mutationname": "Mut-B",
+                "mutationtype": "BAC transgenic",
+                "grade_id": 5,
+                "mutationgrade": "het"
+            }
+        ],
+        "parents": []
     }
 ]

+ 2 - 1
pyrat-api-multiple-responses.csv

@@ -3,4 +3,5 @@ ID-001,Mouse,Not usable age,2026-02-03,Line-A,Mut-A,,het,,ID-101,ID-100,Mut-A,,h
 ID-002,Mouse,Not usable age,2026-02-04,Line-A,Mut-A,,hom,,ID-101,ID-100,Mut-A,,het,,Mut-A,,wt,
 ID-003,Mouse,Not usable age,2026-02-05,Line-AB,Mut-A,Mut-B,het,hom,ID-103,ID-102,Mut-A,Mut-B,het,wt,Mut-A,Mut-B,wt,hom
 ID-004,Mouse,Not usable age,2026-02-06,Line-AB,Mut-A,Mut-B,het,het,ID-105,ID-104,Mut-A,,het,,Mut-B,,hom,
-ID-005,Mouse,Not usable age,2026-02-07,Line-AB,Mut-A,Mut-B,het,het,ID-107,ID-106,Mut-A,Mut-B,het,wt,,,,
+ID-005,Mouse,Not usable age,2026-02-07,Line-AB,Mut-A,Mut-B,het,het,ID-107,ID-106,Mut-A,Mut-B,het,wt,,,,
+ID-006,Mouse,Not usable age,2026-02-08,Line-AB,Mut-A,Mut-B,het,het,,,,,,,,,,