Commit 99ecf219 authored by Andrew Cohen's avatar Andrew Cohen

server getFeatureExtrema

parent 2ca6c431
......@@ -524,6 +524,17 @@ app.get('/:LEVER/algorithms', function(req,res) {
});
});
app.get('/:LEVER/featureExtrema', function(req,res){
var leverFile=req.leverFile;
const LeverDB=require('./leverjs/lever.js');
var leverDB=new LeverDB(leverFile);
leverDB.getConstants(function(err,CONSTANTS) {
leverDB.getFeatureExtrema(CONSTANTS,function(rgMinMax) {
res.send(rgMinMax);
});
});
});
app.get('/:LEVER/constants', function(req,res){
var leverFile=req.leverFile;
const LeverDB=require('./leverjs/lever.js');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment