Skip to content

Commit

Permalink
Merge pull request #168 from WormBase/feature/500-errors
Browse files Browse the repository at this point in the history
fixed issue with sequences widget but not genetics - genetics appears…
  • Loading branch information
adamjohnwright authored Mar 12, 2018
2 parents 429d613 + 281e400 commit c2785b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rest_api/classes/generic_fields.clj
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,9 @@
(for [rh (:cds/remark cds)]
(+ 1 (.indexOf all-cds-remark-holders rh)))))
(pack-obj cds))
:evidence {:status (when-let [status (name (:cds/prediction-status cds))]
:evidence {:status (when-let [status (:cds/prediction-status cds)]
(str
(case status
(case (name status)
"confirmed" "Confirmed"
"partially-confirmed" "Partially confimed"
"predicted" "Predicted")
Expand Down

0 comments on commit c2785b3

Please sign in to comment.