summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-05-02 16:06:49 -0500
committerGitHub2022-05-02 16:06:49 -0500
commit232cb838f65e2fe4ee929e838a495708242a18b0 (patch)
tree4fc6596cb49c218d748406722f96b8c5bfcfe588
parent416e6059c8cb5f111b8284a3e86115482138a20a (diff)
downloadgn-gemtext-232cb838f65e2fe4ee929e838a495708242a18b0.tar.gz
Change formatting again
-rw-r--r--issues/case-attr-edit-error.gmi10
1 files changed, 5 insertions, 5 deletions
diff --git a/issues/case-attr-edit-error.gmi b/issues/case-attr-edit-error.gmi
index 2e73fe5..5a7e845 100644
--- a/issues/case-attr-edit-error.gmi
+++ b/issues/case-attr-edit-error.gmi
@@ -7,13 +7,13 @@ There are several issues I've noticed:
* This is the most confusing and is a bit hard to explain without directly showing, but I've identified what seems to be causing the problem (though I can't find why in the code). Attempts to fix this via editing didn't work until I figured out the apparent cause, but my temporary "fix" just involve removing the problematic case attribute values.
-An image showing one of the diffs is linked here:
-=> /pictures/diffs_1.png
+ An image showing one of the diffs is linked here:
+ => /pictures/diffs_1.png
-As can be seen, all the case attributes for some samples were set to 2018.08.
+ As can be seen, all the case attributes for some samples were set to 2018.08.
-The cause of this issue seems to be either "M13" or "M14" being the case attribute value for the "Date Geno" Case Attribute (which can also be seen in the figure). After a while, I realized that this is apparently because "M13" and "M14" are both parts of strain names (for example "UM13988").
-I was able to temporarily "fix" the issue by removing all M13s and M14s. But I have no idea *why* this is happening. At some point in the code it must be searching for the casee attribute value across thee entire CSV row, but I can't find where that's happening (or why it results in the same case attribute value being duplicated across all case attributes for that row).
+ The cause of this issue seems to be either "M13" or "M14" being the case attribute value for the "Date Geno" Case Attribute (which can also be seen in the figure). After a while, I realized that this is apparently because "M13" and "M14" are both parts of strain names (for example "UM13988").
+ I was able to temporarily "fix" the issue by removing all M13s and M14s. But I have no idea *why* this is happening. At some point in the code it must be searching for the casee attribute value across thee entire CSV row, but I can't find where that's happening (or why it results in the same case attribute value being duplicated across all case attributes for that row).
* The "Tx" attribute (an attribute that exists twice in the CaseAttribute table and requires an ID in the CSV file) was throwing an error related to not having an ID, even though the ID was included in the CSV file. This is the relevant part of the code (where _id isn't set and it throws an error about "Tx" not being a unique Name) - https://github.com/genenetwork/genenetwork3/blob/65adda3923760252dd1dc94e8b5c894310885a69/gn3/db/sample_data.py#L176-L198