From 725505649d91fce66eb289951e8f7971a9d08584 Mon Sep 17 00:00:00 2001 From: Steven Weaver Date: Wed, 27 Nov 2024 18:40:35 -0500 Subject: [PATCH] #752 fel fix --- app/routes/fel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes/fel.js b/app/routes/fel.js index 711919f7..1b8e2163 100644 --- a/app/routes/fel.js +++ b/app/routes/fel.js @@ -25,6 +25,7 @@ exports.uploadFile = function (req, res) { } }; + var fn = req.files.files.file, fel = new FEL(), postdata = req.body, @@ -33,6 +34,7 @@ exports.uploadFile = function (req, res) { ds_variation = postdata.ds_variation, resample = parseInt(postdata.resample); + fel.original_extension = path.basename(fn).split(".")[1]; fel.mail = postdata.mail; fel.ci = postdata.confidence_interval == "true"; @@ -150,8 +152,6 @@ exports.invoke = function (req, res) { // User Parameters fel.tagged_nwk_tree = postdata.nwk_tree; fel.analysis_type = postdata.analysis_type; - fel.multiple_hits = postdata.multiple_hits; // new - fel.site_multihit = postdata.site_multihit; // new fel.status = fel.status_stack[0]; fel.save(function (err, result) {