Add in test code to verify RDF data being added to the library page.
[htsworkflow.git] / htsworkflow / frontend / samples / fixtures / test_samples.json
index ae998723b8588ea5e23b7a2201bb96ecd2b26c8e..729f067184863b270ed972b2014b07d2edb515c5 100644 (file)
@@ -1,4 +1,4 @@
-[
+[ 
   {"pk": 5, "model": "auth.user", 
    "fields": {
        "username": "test",
        "date_joined": "2009-01-01 00:01:01"
        }
    },
-  {"pk": 10984, "model": "samples.library", 
+   {"pk": 1, "model": "samples.affiliation",
+    "fields": {
+        "users": [5],
+        "name": "Alice",
+        "contact": "Lab Boss",
+        "email": "alice@some.where.else."
+        }
+    },
+    {"pk": 2, "model": "samples.affiliation",
+     "fields": { "name": "Bob",
+                 "contact": "Other Lab Boss",
+                 "email": "bob@some.where.else"
+               }
+    },
+ {"pk": 153, "model": "experiments.flowcell", 
+  "fields": {
+      "paired_end": true, 
+      "run_date": "2009-09-11 22:12:13", 
+      "read_length": 75, 
+      "notes": "",
+      "advanced_run": false,
+      "control_lane": 2,
+      "cluster_station": 3,
+      "sequencer": 2,
+      "flowcell_id": "303TUAAXX"
+      }
+  }, 
+  {"pk": 1193, "model": "experiments.lane",
+   "fields": {
+       "comment": "No change in cluster numbers, despite slight increase in pM",
+       "library": "10981",
+       "cluster_estimate": 129000,
+       "flowcell": 153,
+       "lane_number": 1,
+       "pM": "8"
+       }
+   }, 
+  {"pk": 1197, "model": "experiments.lane",
+   "fields": {
+       "comment": "stuff",
+       "library": "11016",
+       "cluster_estimate": 140000,
+       "flowcell": 153,
+       "lane_number": 5,
+       "pM": "7",
+       "status": 2
+       }
+   }, 
+  {"pk": "10981", "model": "samples.library", 
         "fields": {
-            "library_id": "10981", 
             "ten_nM_dilution": false, 
-            "avg_lib_size": 400, 
+            "gel_cut_size": 400, 
             "library_name": "Paired End Multiplexed Sp-BAC", 
             "creation_date": "2009-07-21", 
             "cell_line": 1, 
@@ -27,7 +74,7 @@
             "library_type": null, 
             "made_by": "Igor", 
             "affiliations": [
-                40
+                2
             ], 
             "replicate": 1, 
             "condition": 1, 
         }
     }, 
     {
-        "pk": 11019
+        "pk": "11016"
         "model": "samples.library", 
         "fields": {
-            "library_id": "11016", 
             "ten_nM_dilution": false, 
-            "avg_lib_size": 325, 
+            "gel_cut_size": 325, 
             "library_name": "Paired End Pfl #3 MP 7/24/9 a", 
             "creation_date": "2009-08-06", 
             "cell_line": 1, 
         }
     }, 
     {
-        "pk": 11042
+        "pk": "11039"
         "model": "samples.library", 
         "fields": {
-            "library_id": "11039", 
             "ten_nM_dilution": false, 
-            "avg_lib_size": 300, 
+            "gel_cut_size": 300, 
             "library_name": "Paired ends 99 GM12892", 
             "creation_date": "2009-08-25", 
             "cell_line": 1, 
         }
     },
     {
-        "pk": 11006
+        "pk": "11003"
         "model": "samples.library", 
         "fields": {
-            "library_id": "11003", 
             "ten_nM_dilution": false, 
-            "avg_lib_size": 325, 
+            "gel_cut_size": 325, 
             "library_name": "Paired End Pfl #3 MP 7/24/9", 
             "creation_date": "2009-08-05", 
             "cell_line": 1, 
             "experiment_type": 8, 
             "antibody": null
         }
+    },
+    {
+        "pk": "11005", 
+        "model": "samples.library", 
+        "fields": {
+            "ten_nM_dilution": false, 
+            "gel_cut_size": 325, 
+            "library_name": "null cell line", 
+            "creation_date": "2009-08-05", 
+            "cell_line": null, 
+            "library_species": 8, 
+            "library_type": 2, 
+            "made_by": "Lorian", 
+            "affiliations": [
+                41
+            ], 
+            "replicate": 1, 
+            "condition": 1, 
+            "hidden": true, 
+            "stopping_point": "1A", 
+            "tags": [], 
+            "made_for": "", 
+            "amplified_from_sample": null, 
+            "notes": "7/31/2009 16:08:22\tColor: Blue", 
+            "undiluted_concentration": null, 
+            "successful_pM": null, 
+            "experiment_type": 8, 
+            "antibody": null
+        }
     }
 ]