about summary refs log tree commit diff
path: root/gn3/api/rqtl2.py
diff options
context:
space:
mode:
authorAlexander_Kabui2025-01-29 13:49:01 +0300
committerBonfaceKilz2025-02-06 12:43:15 +0300
commita3052281899a96b6be853582e9bdc5486a78a803 (patch)
tree4eed1d66e6ebd853a7a7ae159e7d8256e3d20d06 /gn3/api/rqtl2.py
parentcc24208b4eb0bb8231c636cd95a50ce327b72351 (diff)
downloadgenenetwork3-a3052281899a96b6be853582e9bdc5486a78a803.tar.gz
refactor: Rename pheno_map to physical_map .
Diffstat (limited to 'gn3/api/rqtl2.py')
-rw-r--r--gn3/api/rqtl2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/api/rqtl2.py b/gn3/api/rqtl2.py
index fb6363e..b584b12 100644
--- a/gn3/api/rqtl2.py
+++ b/gn3/api/rqtl2.py
@@ -23,9 +23,9 @@ def compute():
     if not valid:
         return jsonify({"Error" : error}), 400
     # Provide atleast one  of this data entries.
-    if "pheno_map_data" not in data and "geno_map_data" not in data:
+    if "physical_map_data" not in data and "geno_map_data" not in data:
         return jsonify({ "Error":"You need to Provide\
-        Either the Pheno map or Geno Map data"}), 400
+        Either the Physical map or Geno Map data of markers"}), 400
     run_id = request.args.get("id", "output")
     # prepare necessary files and dir for computation
     (workspace_dir, input_file,