Commit f937687e authored by SimonGlomb's avatar SimonGlomb
Browse files

run code on request

parent 27ff56cf
...@@ -10,7 +10,7 @@ def hello_world(): ...@@ -10,7 +10,7 @@ def hello_world():
@app.route("/run_code") @app.route("/run_code")
def run_code(): def run_code():
os.system("python ./code/test.py") os.system("python ./code/main.py")
return "<p>some text</p>" return "<p>some text</p>"
......
...@@ -19,7 +19,7 @@ p_attr_weights = { ...@@ -19,7 +19,7 @@ p_attr_weights = {
'producer': 2 'producer': 2
} # attributes that are not given in the data are not used } # attributes that are not given in the data are not used
p_clustering_mode = 'kmeans' # optional, default: kmeans p_clustering_mode = 'kmeans' # optional, default: kmeans
p_cluster_count = np.NaN # cluster-count (optional, default: np.NaN which leads to automatic k determination) p_cluster_count = 3 # np.NaN # cluster-count (optional, default: np.NaN which leads to automatic k determination)
p_ocel_file_type = 'json' # json|xml p_ocel_file_type = 'json' # json|xml
p_graph_file_type = 'svg' # svg|png p_graph_file_type = 'svg' # svg|png
# END PARAMETERS # END PARAMETERS
......
print("hello")
\ No newline at end of file
Supports Markdown
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