summaryrefslogtreecommitdiff
path: root/issues/quality-control
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-01-20 07:21:04 +0300
committerFrederick Muriuki Muriithi2024-01-20 07:23:32 +0300
commit58c318b03e9e1cf2a67cd1139b4910eeb35bc39e (patch)
tree208668f6a3fee57e3f2556512bae51014f105701 /issues/quality-control
parentc53b894940ee01c1478a33379833f15cae3d5354 (diff)
downloadgn-gemtext-58c318b03e9e1cf2a67cd1139b4910eeb35bc39e.tar.gz
New Issue: QC - Samples data retrieved wrong.
Diffstat (limited to 'issues/quality-control')
-rw-r--r--issues/quality-control/read-samples-from-database-by-species.gmi27
1 files changed, 27 insertions, 0 deletions
diff --git a/issues/quality-control/read-samples-from-database-by-species.gmi b/issues/quality-control/read-samples-from-database-by-species.gmi
new file mode 100644
index 0000000..009ec27
--- /dev/null
+++ b/issues/quality-control/read-samples-from-database-by-species.gmi
@@ -0,0 +1,27 @@
+# Read Samples/Cases/Individuals From Database
+
+## Tags
+
+* type: bug
+* priority: critical
+* assigned: fredm, acenteno
+* keywords: QC, quality control, samples, strains, cases
+* status: open
+
+## Description
+
+I discovered a
+=> https://gitlab.com/fredmanglis/gnqc_py/-/blob/6200a60eb6f04a5d50bfe0ad366674dc49a08119/scripts/validate_file.py#L98 critical flaw in my code.
+
+This code always reads
+=> https://gitlab.com/fredmanglis/gnqc_py/-/tree/6200a60eb6f04a5d50bfe0ad366674dc49a08119/etc/strains.csv the strains file in the repository
+rather than reading the samples/cases data from the database.
+
+This bug is even "encoded" in
+=> https://gitlab.com/fredmanglis/gnqc_py/-/blob/6200a60eb6f04a5d50bfe0ad366674dc49a08119/README.org#L26 the original specifications.
+
+> - check strain headers against a source of truth (see strains.csv)
+
+The strains file linked to above contains a selection of strains from mice, which means that the checks will never pass for anything other than mice, and even then, for the samples that existed at the time the strains file was generated.
+
+This was a myopic view of the data uploader, and needs to be expanded significantly. The user will need to specify the species for the data they wish to upload before being allowed to upload. That implies a rework of the UI, and underlying code.