Don't throw an error if library.cell_line is None.
[htsworkflow.git] / htsworkflow / frontend / samples / fixtures / test_samples.json
index ae998723b8588ea5e23b7a2201bb96ecd2b26c8e..9a549c5a02dc5d247bde3947706562fcae4b18f6 100644 (file)
@@ -15,9 +15,8 @@
        "date_joined": "2009-01-01 00:01:01"
        }
    },
-  {"pk": 10984, "model": "samples.library", 
+  {"pk": "10981", "model": "samples.library", 
         "fields": {
-            "library_id": "10981", 
             "ten_nM_dilution": false, 
             "avg_lib_size": 400, 
             "library_name": "Paired End Multiplexed Sp-BAC", 
         }
     }, 
     {
-        "pk": 11019
+        "pk": "11016"
         "model": "samples.library", 
         "fields": {
-            "library_id": "11016", 
             "ten_nM_dilution": false, 
             "avg_lib_size": 325, 
             "library_name": "Paired End Pfl #3 MP 7/24/9 a", 
         }
     }, 
     {
-        "pk": 11042
+        "pk": "11039"
         "model": "samples.library", 
         "fields": {
-            "library_id": "11039", 
             "ten_nM_dilution": false, 
             "avg_lib_size": 300, 
             "library_name": "Paired ends 99 GM12892", 
         }
     },
     {
-        "pk": 11006
+        "pk": "11003"
         "model": "samples.library", 
         "fields": {
-            "library_id": "11003", 
             "ten_nM_dilution": false, 
             "avg_lib_size": 325, 
             "library_name": "Paired End Pfl #3 MP 7/24/9", 
             "experiment_type": 8, 
             "antibody": null
         }
+    },
+    {
+        "pk": "11005", 
+        "model": "samples.library", 
+        "fields": {
+            "ten_nM_dilution": false, 
+            "avg_lib_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
+        }
     }
 ]