about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn3/api/rqtl2.py3
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