Skip to content

Commit

Permalink
#752 fel fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenweaver committed Nov 27, 2024
1 parent 37550d9 commit 7255056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/fel.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ exports.uploadFile = function (req, res) {
}
};


var fn = req.files.files.file,
fel = new FEL(),
postdata = req.body,
Expand All @@ -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";
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 7255056

Please sign in to comment.