Postgresql has referential integrety checking.
[htsworkflow.git] / htsworkflow / frontend / experiments / fixtures / test_flowcells.json
index 149747656f3baf0b900ba3fb890f77fa0f773e00..15d00c60de68e10d233c95af20b6aa63f082b4c2 100644 (file)
@@ -7,12 +7,12 @@
        "is_active": true,
        "is_superuser": false,
        "is_staff": false,
-       "last_login": "2009-01-01 00:00:01",
+       "last_login": "2009-01-01T00:00:01-0800",
        "groups": [],
        "user_permissions": [],
        "password": "sha1$foo$5e4eefec1144a04becfb7da79244f07c487fc345",
        "email": "",
-       "date_joined": "2009-01-01 00:01:01"
+       "date_joined": "2009-01-01T00:01:01-0800"
        }
    },
    {"pk": 5, "model": "samples.htsuser",
        "is_active": true,
        "is_superuser": false,
        "is_staff": true,
-       "last_login": "2009-01-01 00:00:01",
+       "last_login": "2009-01-01T00:00:01-0800",
        "groups": [],
        "user_permissions": [],
        "password": "sha1$foo$5e4eefec1144a04becfb7da79244f07c487fc345",
        "email": "",
-       "date_joined": "2009-01-01 00:01:01"
+       "date_joined": "2009-01-01T00:01:01-0800"
        }
    },
    {"pk": 6, "model": "samples.htsuser",
        "is_active": true,
        "is_superuser": true,
        "is_staff": true,
-       "last_login": "2009-01-01 00:00:01",
+       "last_login": "2009-01-01T00:00:01-0800",
        "groups": [],
        "user_permissions": [],
        "password": "sha1$foo$5e4eefec1144a04becfb7da79244f07c487fc345",
        "email": "",
-       "date_joined": "2009-01-01 00:01:01"
+       "date_joined": "2009-01-01T00:01:01-0800"
        }
    },
    {"pk": 7, "model": "samples.htsuser",
  {"pk": 153, "model": "experiments.flowcell",
   "fields": {
       "paired_end": true,
-      "run_date": "2007-09-27 22:12:13",
+      "run_date": "2007-09-27T22:12:13-0800",
       "read_length": 36,
       "notes": "",
       "advanced_run": false,
        "pM": "7"
        }
    },
+    {
+        "pk": "11006",
+        "model": "samples.library",
+        "fields": {
+            "ten_nM_dilution": false,
+            "gel_cut_size": 325,
+            "library_name": "Paired End Pfl #3 MP 7/24/9",
+            "creation_date": "2009-08-05",
+            "cell_line": 1,
+            "library_species": 8,
+            "library_type": 2,
+            "made_by": "Lorian",
+            "affiliations": [
+                3
+            ],
+            "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
+        }
+    },
     {
         "pk": "11016",
         "model": "samples.library",
             "stopping_point": "1Aa",
             "tags": [],
             "made_for": "Brian Williams",
-            "amplified_from_sample": null,
+            "amplified_from_sample": 11006,
             "notes": "fragment size = 300 bp, Amicon filtered\r\nnanodrop: 56.3",
             "undiluted_concentration": "28.7",
             "successful_pM": null,
             "stopping_point": "1Aa",
             "tags": [],
             "made_for": "Brian Williams",
-            "amplified_from_sample": null,
+            "amplified_from_sample": 11006,
             "notes": "300 bp gel fragment, Amicon filtered\r\nnanodrop: 24.2",
             "undiluted_concentration": "2.05",
             "successful_pM": null,
    {"pk": 152, "model": "experiments.flowcell",
    "fields": {
        "paired_end": false,
-       "run_date": "2009-09-10 18:30:15",
+       "run_date": "2009-09-10T18:30:15-0800",
        "read_length": 38,
        "notes": "328461 4897273 RGT-0248815\r\n328479 4897265 RGT-0249274\r\n330421 4822845 SR-0005496",
        "advanced_run": false,
             "stopping_point": "2A",
             "tags": [],
             "made_for": "",
-            "amplified_from_sample": 12044,
+            "amplified_from_sample": null,
             "notes": "8/21/2009 11:57:54\tColor: Yellow",
             "undiluted_concentration": "20.5",
             "successful_pM": null,
             "library_type": 1,
             "made_by": "Lorian",
             "affiliations": [
-                6
+                4
             ],
             "replicate": 1,
             "condition": null,
             "stopping_point": "2A",
             "tags": [],
             "made_for": "",
-            "amplified_from_sample": 11045,
+            "amplified_from_sample": null,
             "notes": "8/21/2009 11:57:54\tColor: Blue",
             "undiluted_concentration": "23.9",
             "successful_pM": null,
             "stopping_point": "1Aa",
             "tags": [],
             "made_for": "",
-            "amplified_from_sample": 11051,
+            "amplified_from_sample": null,
             "notes": "8/26/2009 14:46:56\tColor: Purple",
             "undiluted_concentration": "1.47",
             "successful_pM": null,
             "stopping_point": "1Aa",
             "tags": [],
             "made_for": "",
-            "amplified_from_sample": 11053,
+            "amplified_from_sample": null,
             "notes": "8/26/2009 14:46:56\tColor: Black",
             "undiluted_concentration": "1.42",
             "successful_pM": null,
             "stopping_point": "1Aa",
             "tags": [],
             "made_for": "",
-            "amplified_from_sample": 11054,
+            "amplified_from_sample": null,
             "notes": "8/26/2009 14:46:56\tColor: Orange.",
             "undiluted_concentration": "1.3",
             "successful_pM": null,
   {"pk": 151, "model": "experiments.flowcell",
    "fields": {
        "paired_end": false,
-       "run_date": "2009-09-08 15:39:28",
+       "run_date": "2009-09-08T15:39:28-0800",
        "read_length": 38,
        "notes": "Rebuild of broken flowcell\r\n\r\n328461 4820241 RGT-0215719\r\n328479 4897265 RGT-0249510\r\n330421 4822845 SR-0005402\r\n",
        "advanced_run": false,
             "stopping_point": "2A",
             "tags": [],
             "made_for": "",
-            "amplified_from_sample": 11043,
+            "amplified_from_sample": null,
             "notes": "8/21/2009 11:57:54\tColor: Orange",
             "undiluted_concentration": "22.4",
             "successful_pM": null,
             "stopping_point": "2A",
             "tags": [],
             "made_for": "",
-            "amplified_from_sample": 11043,
+            "amplified_from_sample": null,
             "notes": "8/21/2009 11:57:54\tColor: Orange",
             "undiluted_concentration": "22.4",
             "successful_pM": null,
             "stopping_point": "2A",
             "tags": [],
             "made_for": "",
-            "amplified_from_sample": 11043,
+            "amplified_from_sample": null,
             "notes": "8/21/2009 11:57:54\tColor: Orange",
             "undiluted_concentration": "22.4",
             "successful_pM": null,
             "stopping_point": "2A",
             "tags": [],
             "made_for": "",
-            "amplified_from_sample": 11043,
+            "amplified_from_sample": null,
             "notes": "8/21/2009 11:57:54\tColor: Orange.",
             "undiluted_concentration": "22.4",
             "successful_pM": null,
             "stopping_point": "2A",
             "tags": [],
             "made_for": "",
-            "amplified_from_sample": 11046,
+            "amplified_from_sample": null,
             "notes": "8/21/2009 11:57:54\tColor: Green",
             "undiluted_concentration": "24.9",
             "successful_pM": null,
             "stopping_point": "1Aa",
             "tags": [],
             "made_for": "",
-            "amplified_from_sample": 11052,
+            "amplified_from_sample": null,
             "notes": "8/26/2009 14:46:56\tColor: White.",
             "undiluted_concentration": "2.17",
             "successful_pM": null,
  {"pk": 200, "model": "experiments.flowcell",
   "fields": {
       "paired_end": true,
-      "run_date": "2007-09-27 22:12:13",
+      "run_date": "2007-09-27T22:12:13-0800",
       "read_length": 36,
       "notes": "",
       "advanced_run": false,