aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/test_data
diff options
context:
space:
mode:
authorBonfaceKilz2021-02-12 15:18:21 +0300
committerBonfaceKilz2021-02-12 15:36:41 +0300
commit21a4a847456fde5fcc6072df0d0fc36992da283d (patch)
treef6921e2e740f3ce3f528258044aad1dbf938bd1e /tests/unit/test_data
parentedd18bffdb179db75769b5a47b9258e5eded5aaf (diff)
downloadgenenetwork3-21a4a847456fde5fcc6072df0d0fc36992da283d.tar.gz
Add function for computing the hash of a directory
Diffstat (limited to 'tests/unit/test_data')
-rw-r--r--tests/unit/test_data/metadata.json9
-rw-r--r--tests/unit/test_data/phenotype.tsv21
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/unit/test_data/metadata.json b/tests/unit/test_data/metadata.json
new file mode 100644
index 0000000..d7dd267
--- /dev/null
+++ b/tests/unit/test_data/metadata.json
@@ -0,0 +1,9 @@
+{
+ "title": "This is my dataset for testing the REST API",
+ "description": "Longer description",
+ "date": "20210127",
+ "authors": [
+ "R. W. Williams"
+ ],
+ "cross": "BXD"
+}
diff --git a/tests/unit/test_data/phenotype.tsv b/tests/unit/test_data/phenotype.tsv
new file mode 100644
index 0000000..b9115ce
--- /dev/null
+++ b/tests/unit/test_data/phenotype.tsv
@@ -0,0 +1,21 @@
+ pheno
+BXD01 5.060
+BXD02 307.866
+BXD03 185.400
+BXD04 380.729
+BXD05 150.066
+BXD06 94.483
+BXD07 438.700
+BXD08 NA
+BXD09 130.457
+BXD10 184.900
+BXD11 223.400
+BXD12 167.250
+BXD13 313.950
+BXD14 219.383
+BXD15 277.800
+BXD16 6.467
+BXD17 364.967
+BXD18 132.016
+BXD19 468.133
+BXD20 309.500