From 23da0318446aa266e5feb64d3bd998a466725570 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Wed, 24 Feb 2021 14:18:07 +0300 Subject: Rename "/gemma/run" to "/gemma/k-gwa-computation" --- gn3/api/gemma.py | 2 +- tests/integration/test_gemma.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gn3/api/gemma.py b/gn3/api/gemma.py index e5fe499..c145eb4 100644 --- a/gn3/api/gemma.py +++ b/gn3/api/gemma.py @@ -26,7 +26,7 @@ def get_version(): # This is basically extracted from genenetwork2 # wqflask/wqflask/marker_regression/gemma_ampping.py -@gemma.route("/run", methods=["POST"]) +@gemma.route("/k-gwa-computation", methods=["POST"]) def run_gemma(): """Generates a command for generating K-Values and then later, generate a GWA command that contains markers. These commands are queued; and the expected diff --git a/tests/integration/test_gemma.py b/tests/integration/test_gemma.py index d9ebeb1..7f84b50 100644 --- a/tests/integration/test_gemma.py +++ b/tests/integration/test_gemma.py @@ -48,7 +48,7 @@ class GemmaAPITest(unittest.TestCase): "bxd_GWA_gUFhGu4rLG7k+CXLPk1OUg.txt") ] mock_queue_cmd.return_value = "my-unique-id" - response = self.app.post("/gemma/run", json={ + response = self.app.post("/gemma/k-gwa-computation", json={ "trait_filename": "BXD.txt", "geno_filename": "BXD_geno", "values": ["X", "N/A", "X"], -- cgit v1.2.3