From a3052281899a96b6be853582e9bdc5486a78a803 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Wed, 29 Jan 2025 13:49:01 +0300 Subject: refactor: Rename pheno_map to physical_map . --- gn3/api/rqtl2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gn3/api/rqtl2.py') 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, -- cgit 1.4.1