Skip to content
Snippets Groups Projects
Commit 004d7d8a authored by Malte Schokolowski's avatar Malte Schokolowski
Browse files

bug fixes 3

parent 92688f9e
No related branches found
No related tags found
Loading
......@@ -8,4 +8,4 @@ doi_list = []
doi_list.append('https://pubs.acs.org/doi/10.1021/acs.jcim.9b00249')
#doi_list.append('https://doi.org/10.1021/acs.jcim.9b00249')
doi_list.append('https://pubs.acs.org/doi/10.1021/acs.jcim.1c00203')
Processing(doi_list, 2, 2, 'test.json')
\ No newline at end of file
Processing(doi_list, 3, 3, 'test.json')
\ No newline at end of file
This diff is collapsed.
......@@ -123,10 +123,10 @@ def update_depth(obj_input_list, input_edges, new_depth, new_height, test_var):
# adds publications and links for new recursion levels
elif (old_depth < new_depth):
old_max_references = get_old_max_references()
old_max_references = get_old_max_references(old_depth)
add_citations(processed_input_list, valid_edges, old_max_references, old_depth+1, new_depth, "Reference", test_var)
elif (old_height < new_height):
old_max_citations = get_old_max_citations()
old_max_citations = get_old_max_citations(old_height)
add_citations(processed_input_list, valid_edges, old_max_citations, old_height+1, new_height, "Citation", test_var)
back_to_valid_edges(valid_edges, processed_input_list)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment