Skip to content
Snippets Groups Projects
Commit 40deaa4b authored by Florian Jochens's avatar Florian Jochens
Browse files

citation_parser_main.py

parent 2e801f24
No related branches found
No related tags found
No related merge requests found
......@@ -284,11 +284,10 @@ def generate_output(n_clicks,all_inputs,forward_depth,backward_depth,additional_
:type additional_options: list of strings
'''
changed_id = [p['prop_id'] for p in callback_context.triggered][0]
if n_clicks is None:
raise PreventUpdate
# This branch is entered when 'Generate Graph' is pushed or 'Update Automatically' is selected
# and the checklist or recursion depths are changed.
elif 'Update Automatically' in additional_options \
if 'Update Automatically' in additional_options \
or 'start-button' in changed_id:
input_links = [x['value'] for x in all_inputs]
# Processing only returns a potential error message. The data for the graph is simply saved
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment