diff options
Diffstat (limited to 'gn3')
| -rw-r--r-- | gn3/api/rqtl2.py | 4 | ||||
| -rw-r--r-- | gn3/computations/rqtl2.py | 2 |
2 files changed, 3 insertions, 3 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, diff --git a/gn3/computations/rqtl2.py b/gn3/computations/rqtl2.py index f1e3cfd..0fd8a7f 100644 --- a/gn3/computations/rqtl2.py +++ b/gn3/computations/rqtl2.py @@ -16,7 +16,7 @@ def generate_rqtl2_files(data, workspace_dir): "geno_file": "geno_data", "pheno_file": "pheno_data", "geno_map_file": "geno_map_data", - "pheno_map_file": "pheno_map_data", + "physical_map_file": "physical_map_data", "phenocovar_file": "phenocovar_data", } parsed_files = {} |
