From dda13d1454f2e73b100af54dd11eb5ae556d0d66 Mon Sep 17 00:00:00 2001 From: Adam Wright Date: Mon, 20 May 2019 22:42:20 +0000 Subject: [PATCH] preping for hotfix release --- CHANGES.md | 3 +++ Dockerrun.aws.json | 2 +- Makefile | 2 +- project.clj | 2 +- src/rest_api/classes/sequence/core.clj | 5 ----- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index b3f7a3c2..2fea26fa 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [0.9.6] - 2018-05-20 +- fixing handling of multiple 5 prime and/or 3 prime utr on transcripts and cds sequence pages + ## [0.9.5] - 2018-05-18 - fix for #6490 (off by one error with variation molecular details widget) diff --git a/Dockerrun.aws.json b/Dockerrun.aws.json index fde820ab..cc729568 100644 --- a/Dockerrun.aws.json +++ b/Dockerrun.aws.json @@ -1,7 +1,7 @@ { "AWSEBDockerrunVersion": 1, "Image": { - "Name": "357210185381.dkr.ecr.us-east-1.amazonaws.com/wormbase/rest:0.9.5", + "Name": "357210185381.dkr.ecr.us-east-1.amazonaws.com/wormbase/rest:0.9.6", "Update": "true" }, "Ports": [ diff --git a/Makefile b/Makefile index 07d9701e..9cf66f0e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ NAME := wormbase/rest -VERSION ?= "0.9.5" +VERSION ?= "0.9.6" EBX_CONFIG := .ebextensions/.config WB_DB_URI ?= $(shell sed -rn 's|value:(.*)|\1|p' \ ${EBX_CONFIG} | tr -d " " | head -n 1) diff --git a/project.clj b/project.clj index 87b20ae0..555e5a10 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject wormbase/rest-api "0.9.5" +(defproject wormbase/rest-api "0.9.6" :description "REST API for retrieving data from datomic on a per widget basis" :url "https://github.com/WormBase/wormbase-rest" diff --git a/src/rest_api/classes/sequence/core.clj b/src/rest_api/classes/sequence/core.clj index 5fef59d1..3e611059 100644 --- a/src/rest_api/classes/sequence/core.clj +++ b/src/rest_api/classes/sequence/core.clj @@ -141,11 +141,6 @@ :stop feature-end :type (:type feature)})) -(defn- my-flatten [x] - (if (sequential? x) - (mapcat my-flatten x) - [x])) - (defn- remove-introns-from-features [positive-features] (let [last-stop (atom 0)] (flatten