MOZI-AI / annotation-scheme

Human Gene annotation service backend
GNU General Public License v3.0
3 stars 4 forks source link

Unit tests break on `string->list` #173

Closed linas closed 4 years ago

linas commented 4 years ago

Breakage due to pull req #172 -- see discussion there for work-around. I get test-suite.log with contents:

test-name: annotate-genes
location: /home/ubuntu/src/annotation-scheme/tests/main-tests.scm:33
source:
+ (test-assert
+   "annotate-genes"
+   (string?
+     (annotate-genes (list "IGF1") "Dfaer" req)))
actual-value: #f
actual-error:
+ (wrong-type-arg
+   "string->list"
+   "Wrong type argument in position ~A (expecting ~A): ~S"
+   (1
+    "string"
+    ("data"
+     ("id" . "Uniprot:Q01094")
+     ("name" . "E2F1")
+     ("definition"
+      .
+      "https://www.uniprot.org/uniprot/Q01094")
Habush commented 4 years ago

This is fixed in #178. Please check

Habush commented 4 years ago

@linas is this still an issue?

linas commented 4 years ago

no longer an issue, closing