Add in test code to verify RDF data being added to the library page.
[htsworkflow.git] / htsworkflow / frontend / samples / fixtures / test_samples.json
index 9a549c5a02dc5d247bde3947706562fcae4b18f6..729f067184863b270ed972b2014b07d2edb515c5 100644 (file)
@@ -1,4 +1,4 @@
-[
+[ 
   {"pk": 5, "model": "auth.user", 
    "fields": {
        "username": "test",
        "date_joined": "2009-01-01 00:01:01"
        }
    },
+   {"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": {
             "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, 
@@ -26,7 +74,7 @@
             "library_type": null, 
             "made_by": "Igor", 
             "affiliations": [
-                40
+                2
             ], 
             "replicate": 1, 
             "condition": 1, 
@@ -47,7 +95,7 @@
         "model": "samples.library", 
         "fields": {
             "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, 
         "model": "samples.library", 
         "fields": {
             "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, 
         "model": "samples.library", 
         "fields": {
             "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, 
         "model": "samples.library", 
         "fields": {
             "ten_nM_dilution": false, 
-            "avg_lib_size": 325, 
+            "gel_cut_size": 325, 
             "library_name": "null cell line", 
             "creation_date": "2009-08-05", 
             "cell_line": null,