Skip to content

Commit

Permalink
Merge pull request #271 from griffithlab/old_pvacviz_form
Browse files Browse the repository at this point in the history
Remove old test submission page
  • Loading branch information
susannasiebert authored Jan 31, 2019
2 parents e8f2cc6 + f6bd5aa commit 3cbffd5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 127 deletions.
20 changes: 0 additions & 20 deletions utils/pvacapi/config/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -995,26 +995,6 @@ paths:
description: "Unexpected error"
schema:
$ref: "#/definitions/Error"
/static/testpage:
get:
tags:
- "test"
summary: "A test submission form"
description: "Returns a web page containing a form for submitting a new pVAC-Seq run. \
Submission is sent to the /api/v1/staging endpoint, where it is processed \
then forwarded to the /api/v1/start endpoint\n"
produces:
- "text/html"
operationId: "utils.pvacapi.controllers.staging.test"
responses:
200:
description: "Returns a static page"
schema:
type: "string"
default:
description: "Unexpected error"
schema:
$ref: "#/definitions/Error"
/api/v1/processes/{parentID}/results/{fileID}/visualize:
get:
tags:
Expand Down
8 changes: 0 additions & 8 deletions utils/pvacapi/controllers/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,14 +285,6 @@ def start(input, phased_proximal_variants_vcf, samplename, alleles, epitope_leng
data.save()
return data['processid']

def test():
"""Return the submission page (a stand-in until there is a proper ui for submission)"""
reader = open(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'test_start.html'))
data = reader.read()
reader.close()
return data


def check_allele(allele):
"""Checks if the requested allele is supported by pVAC-Seq or not"""
data = current_app.config['storage']['loader']()
Expand Down
99 changes: 0 additions & 99 deletions utils/pvacapi/test_start.html

This file was deleted.

0 comments on commit 3cbffd5

Please sign in to comment.