diff options
| author | Alexander_Kabui | 2025-01-23 17:53:49 +0300 |
|---|---|---|
| committer | BonfaceKilz | 2025-02-06 12:43:15 +0300 |
| commit | 1184b9e1568977eb4e57d5379db4e543e267a03b (patch) | |
| tree | 20cacc4441c252bdb1f6bd5dd24d83d4e4ed032a | |
| parent | fa08c4eeb2110dc280bb2d3a9334aabeaa1b5bfe (diff) | |
| download | genenetwork3-1184b9e1568977eb4e57d5379db4e543e267a03b.tar.gz | |
Minor fix.
| -rw-r--r-- | gn3/api/rqtl2.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/api/rqtl2.py b/gn3/api/rqtl2.py index c1cd496..6753f39 100644 --- a/gn3/api/rqtl2.py +++ b/gn3/api/rqtl2.py @@ -21,7 +21,7 @@ def compute(): valid, error = validate_required_keys(required_keys,data) if not valid: return jsonify({"Error" : error}), 400 - # Users should provide atleast the one of this + # Provide atleast one of this data entries. if "pheno_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 @@ -31,6 +31,7 @@ def compute(): output_file, log_file) = prepare_files(current_app.config.get("TMPDIR")) # write the input file with data required for creating the cross write_input_file(input_file, workspace_dir, data) + # TODO fix this rqtl_path =Path(__file__).absolute().parent.parent.parent.joinpath("scripts/rqtl2_wrapper.R") if not rqtl_path.is_file(): return jsonify({"error" : f"The script {rqtl_path} does not exists"}), 400 |
