Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(schemas): remove enum from assembly ID prop #59

Merged
merged 3 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
[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
Loading