from flask import Flask, render_template
from analysis import filteredCluster 
app = Flask(__name__)


@app.route('/')
def index():
    return render_template('index.html')

@app.route('/m')
def indexm():
    return render_template('indexm.html')
@app.route('/ru')
def ru():
    return render_template('index.backup.html')
@app.route('/style')
def style():
    return render_template('style.html')
@app.route('/admin')
def admin():
    return render_template('admin.html')
@app.route('/tables.html')
def tables():
@app.route('/charts.html')
def charts():
    return render_template('charts.html')
@app.route('/landing')
def landing():
    return render_template('landing.html')

if __name__ == '__main__':
    app.run(debug=True)

def get_paraList():
    paraList = []
    paraList0 = ['Area','50','100'] #request.args.get('area','min','max', type=int)
    paraList1 = ['perimeter','20', '50'] #.args.get('para','min','max', type=int)
    for i in range(1):  #range(10)
    	paraList.append(paraList+str(i))
   """a = request.args.get('a', 0, type=int)
   b = request.args.get('b', 0, type=int)
   a = request.args.get('a', 0, type=int)
   b = request.args.get('b', 0, type=int)
   a = request.args.get('a', 0, type=int)
   b = request.args.get('b', 0, type=int)
   a = request.args.get('a', 0, type=int)
   b = request.args.get('b', 0, type=int)
   a = request.args.get('a', 0, type=int)"""
   #f is path of allfeaturefile.csv
    filteredCluster(paraList) 
   #return jsonify(result=a + b)

@@ -44,16 +44,21 @@
 rom 
-analysis
+dynamic_query
  imp
@@ -77,16 +77,17 @@
 Cluster 
+ 
 %0D%0Aapp = 
@@ -534,16 +534,20 @@
 ables():
+pass
 %0D%0A@app.r
@@ -767,16 +767,19 @@
 rue)%0D%0A%0D%0A
+%22%22%22
 def get_
@@ -787,24 +787,24 @@
 araList():%0D%0A
-
     paraList
@@ -1056,19 +1056,53 @@
 i))%0D%0A   
-%22%22%22
+ filteredCluster(paraList)%0D%0A    %0D%0A   
 a = requ
@@ -1521,37 +1521,12 @@
 sv%0D%0A
+
     
-filteredCluster(paraList)
  %0D%0A 

revert last changes