diff options
author | BonfaceKilz | 2021-02-24 14:18:07 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-02-24 14:20:29 +0300 |
commit | 23da0318446aa266e5feb64d3bd998a466725570 (patch) | |
tree | 330d521f5ab10033b0210ae8f9687411cae053ab | |
parent | a0f1ee1f4cb4b7d3494b47335fc48e63e40d85d3 (diff) | |
download | genenetwork3-23da0318446aa266e5feb64d3bd998a466725570.tar.gz |
Rename "/gemma/run" to "/gemma/k-gwa-computation"
-rw-r--r-- | gn3/api/gemma.py | 2 | ||||
-rw-r--r-- | 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"], |