diff --git a/kadmos/vistoms/interface_vistoms.py b/kadmos/vistoms/interface_vistoms.py index 1c8350156e7e7a7223053bc8e6f06f94a4af5418..4a87b50a0802d6ea965b1cb49b3a6f36fbb1233a 100644 --- a/kadmos/vistoms/interface_vistoms.py +++ b/kadmos/vistoms/interface_vistoms.py @@ -77,8 +77,8 @@ def interface(debug=True, tempdir=None): # TODO: add option to add entire database in all_graph # Start the vistoms with all_graphs - vistoms_start(all_graphs, file_dir='examples/' + example + '/VISTOMS_interactive', open_vistoms=False) - return + UPLOAD_FOLDER = 'examples/' + example + '/VISTOMS_interactive' + return render_template('VISTOMS.html', new=0, error=error, message=message) # Info @app.route('/info') diff --git a/kadmos/vistoms/templates/index.html b/kadmos/vistoms/templates/index.html index 40f3790b7d7f7ef4e0647e3bf9a770572068bcd4..8142b13976755282442a5407b582b530115eca2e 100644 --- a/kadmos/vistoms/templates/index.html +++ b/kadmos/vistoms/templates/index.html @@ -18,7 +18,7 @@ <h3 class="panel-title">Sellar Problem</h3> </div> <div class="panel-body blue list group"> - <a href="/examples/sellar_problem/KDMS/RCG.kdms" id="b2" class="list-group-item" + <a href="/examples/sellar_problem/KDMS" id="b2" class="list-group-item" onclick="confirm();button('b2');undo('b1', 'b3', 'b4')"> Sellar Problem database </a> @@ -31,7 +31,7 @@ <h3 class="panel-title">TU Delft wing design</h3> </div> <div class="panel-body blue list group"> - <a href="/examples/tu_delft_wing_design/KDMS/RCG.kdms" id="b3" class="list-group-item" + <a href="/examples/tu_delft_wing_design/KDMS" id="b3" class="list-group-item" onclick="confirm();button('b3');undo('b1', 'b2', 'b4')"> TU Delft wing design database </a> @@ -44,7 +44,7 @@ <h3 class="panel-title">Super-sonic business jet</h3> </div> <div class="panel-body blue list group"> - <a href="/examples/ssbj/KDMS/RCG.kdms" id="b4" class="list-group-item" + <a href="/examples/ssbj/KDMS" id="b4" class="list-group-item" onclick="confirm();button('b4');undo('b1', 'b2', 'b3')"> SSBJ database </a>