From f6bd5aa1c0d8e77b5fd49b8d3288ed04296319f7 Mon Sep 17 00:00:00 2001 From: Susanna Kiwala Date: Fri, 25 Jan 2019 09:05:37 -0600 Subject: [PATCH] Remove old test submission page --- utils/pvacapi/config/swagger.yaml | 20 ------ utils/pvacapi/controllers/staging.py | 8 --- utils/pvacapi/test_start.html | 99 ---------------------------- 3 files changed, 127 deletions(-) delete mode 100644 utils/pvacapi/test_start.html diff --git a/utils/pvacapi/config/swagger.yaml b/utils/pvacapi/config/swagger.yaml index 9fe2c32c1..5091a1cea 100755 --- a/utils/pvacapi/config/swagger.yaml +++ b/utils/pvacapi/config/swagger.yaml @@ -994,26 +994,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: diff --git a/utils/pvacapi/controllers/staging.py b/utils/pvacapi/controllers/staging.py index 43bc628d3..5800e9956 100644 --- a/utils/pvacapi/controllers/staging.py +++ b/utils/pvacapi/controllers/staging.py @@ -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']() diff --git a/utils/pvacapi/test_start.html b/utils/pvacapi/test_start.html deleted file mode 100644 index 0ef2e2055..000000000 --- a/utils/pvacapi/test_start.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - Test pVAC-Seq web form - - -
- Input VCF file:
- Sample Name:
- Alleles:
- Prediction Algorithms:
-


- Epitope Lengths:
- Peptide Sequence Length:
- NetChop Method:
- NetChop Prediction Threshold:
- NetMHC Stabpan:
- Top Score Metric:
- Binding Threshold:
- Allele Specific Binding Thresholds:
- Minimum Fold Change:
- Expression Value:
- Normal Coverage Cutoff:
- Tumor DNA Coverage Cutoff:
- Tumor RNA Coverage Cutoff:
- Normal VAF Cutoff:
- Tumor DNA VAF Cutoff:
- Tumor RNA VAF Cutoff:
- FASTA Size:
- IEDB Retries:
- Downstream Sequence Length:
- IEDB Install Directory:
- Bypass duplicate process check:
- Keep Tmp Files:
- - -
- - - - - -