Skip to content

Commit

Permalink
Merge pull request #59 from bento-platform/fix/search-assembly-enum
Browse files Browse the repository at this point in the history
fix(schemas): remove enum from assembly ID prop
  • Loading branch information
davidlougheed authored May 8, 2024
2 parents 3de386b + c451a60 commit 2d6b076
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
6 changes: 3 additions & 3 deletions etc/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

GOHAN_DEBUG=false
GOHAN_SERVICE_CONTACT=[email protected]
GOHAN_SEMVER=5.0.0
GOHAN_SEMVER=5.0.1
GOHAN_SERVICES="gateway api elasticsearch kibana drs authorization"

# GOOS=linux
Expand Down Expand Up @@ -39,8 +39,8 @@ GOHAN_API_IMAGE=gohan-api
GOHAN_API_VERSION=latest

GOHAN_API_BUILDER_BASE_IMAGE=golang:1.21-bookworm
GOHAN_API_DEV_BASE_IMAGE=ghcr.io/bento-platform/bento_base_image:golang-debian-2023.12.01
GOHAN_API_PROD_BASE_IMAGE=ghcr.io/bento-platform/bento_base_image:plain-debian-2023.12.01
GOHAN_API_DEV_BASE_IMAGE=ghcr.io/bento-platform/bento_base_image:golang-debian-2024.05.01
GOHAN_API_PROD_BASE_IMAGE=ghcr.io/bento-platform/bento_base_image:plain-debian-2024.05.01

GOHAN_API_CONTAINER_NAME=gohan-api
GOHAN_API_SERVICE_HOST=0.0.0.0
Expand Down
2 changes: 1 addition & 1 deletion src/api/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN apt-get update -y && \
apt-get install -y tabix && \
rm -rf /var/lib/apt/lists/*

RUN go install github.com/cosmtrek/air@latest
RUN go install github.com/cosmtrek/air@v1.49.0

COPY go.mod go.sum ./
RUN go mod download && go mod vendor
Expand Down
6 changes: 0 additions & 6 deletions src/api/models/schemas/schemas.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ var VARIANT_SCHEMA Schema = map[string]interface{}{
"properties": map[string]interface{}{
"assembly_id": map[string]interface{}{
"description": "Reference genome assembly ID.",
"enum": []string{
"GRCh38",
"GRCh37",
"NCBI36",
"Other",
},
"search": map[string]interface{}{
"canNegate": false,
"operations": []string{
Expand Down

0 comments on commit 2d6b076

Please sign in to comment.