Skip to content
Snippets Groups Projects
Commit 5aa4d545 authored by Akdel's avatar Akdel
Browse files

demo site eta

parent 3ddf1986
No related branches found
No related tags found
No related merge requests found
......@@ -396,7 +396,7 @@ def get_time_estimate(clicked, aln_done, pdb_entries):
dash.dependencies.Output("feature-selection", "options"),
dash.dependencies.Output("alignment-data", "children"),
dash.dependencies.Output("pfam-class", "children"),
dash.dependencies.Output("alignment-done", "children")],
dash.dependencies.Output("time-estimate", "children")],
[dash.dependencies.Input("align", "n_clicks")],
......@@ -426,10 +426,10 @@ def align_structures(clicked, pdb_entries, pfam_class, gap_open, gap_extend):
return "", component, dcc.Graph(figure=structure_plot({s.name: s.coords for s in pfam_class.msa.structures}),
id="scatter3d"), compress_object(
features), [{"label": x, "value": x} for x in features[list(features.keys())[0]]], compress_object(
alignment), compress_object(pfam_class), [True]
alignment), compress_object(pfam_class), ""
else:
return "", "", "", compress_object(np.zeros(0)), [
{"label": "no alignment present", "value": "no alignment"}], pdb_entries, pfam_class, [False]
{"label": "no alignment present", "value": "no alignment"}], pdb_entries, pfam_class, ""
@app.callback([dash.dependencies.Output("feature-plot1", "children"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment