From 8f5625ebedf5c73255e00c12c9dee4e4dd8819f8 Mon Sep 17 00:00:00 2001 From: Malte Schokolowski <baw8441@uni-hamburg.de> Date: Thu, 9 Dec 2021 21:09:20 +0100 Subject: [PATCH] added relative paths --- verarbeitung/Processing.py | 4 ++-- .../__pycache__/Processing.cpython-39.pyc | Bin 7149 -> 7151 bytes verarbeitung/import_from_json.py | 3 ++- verarbeitung/print_graph_test.py | 1 - verarbeitung/update_graph.py | 3 +-- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/verarbeitung/Processing.py b/verarbeitung/Processing.py index 20f5f7e..a3e245a 100644 --- a/verarbeitung/Processing.py +++ b/verarbeitung/Processing.py @@ -111,7 +111,7 @@ def create_graph_structure_references(pub, search_depth, search_depth_max, test_ :type pub: Class Publication :param search_depth: current depth to search for references - :type search_depth_max: int + :type search_depth: int :param search_depth_max: maximum depth to search for references :type search_depth_max: int @@ -163,7 +163,7 @@ def process_references_rec(references_pub_obj_list, search_depth, search_depth_m :type references_pub_obj_list: list of objects of type Class Publications :param search_depth: current depth to search for references - :type search_depth_max: int + :type search_depth: int :param search_depth_max: maximum depth to search for references :type search_depth_max: int diff --git a/verarbeitung/__pycache__/Processing.cpython-39.pyc b/verarbeitung/__pycache__/Processing.cpython-39.pyc index 90f7cd3267ec98dad7fc318985409cf899e280d6..f16ff9fc08e6d1b3ae555bd65772c0b66c866779 100644 GIT binary patch delta 1180 zcmbVL!EVz)5begX>o~TPHfh=>rMQI_8QN4up_LFw9Js;(5C>Pnr0LSQO6_Ru3W-bj zhy4L0B<^5|16+~%0bIbG5NFgM=z*CHiCP2~V(r`U?2Pl~&Cbv5lWn_gS;hqZ-aLKR z-r9O=A2aoZ(rj*|U)Z+7w6v@~V9XI6Et*=uu((CRr98{$bS8di>ufoln%rRn3*Asg z$O@exX(vGx#$eOC%J=qp3?;G+;LkYlu)||lgIUVCKyVSkQ!o)0DNMmIaOgn768Wl~ z=&;}83HO6A<lxJ%KE{){hA=mw>CC`KXA7)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sf8Hj9^HE9P`7=Vl7d7aU* z<aSX^P3|Jb93fnm?{c$?Cz#YR<|UeEB8-ijEXz#>^<bEba_1aQp?-__`+xm12m1Ad zz0vdGG;O8@ERi=$5DF-_^M%WQQ)?1qKA`<mE%`oQWs|}8{BGpRB@Db>ivT65sY8KA zU3j36K6@EMj_@hVXNBrXeO55$7us=sR)W1kk>91W?$uI?_l2XP1F#)G)QS2B76>RG zNMu+dAeF-wqgJe$FhvuZh`z0&yivL~uV2COi&E*sQnoDHDase671og7O1F0DeQYc4 zJ@Qn1VEMhiy$S~Istg*1FD+*~gB^bv`3YFJx&mT!EWLqtQZIFU;raSyv=f`2>tMHU nxglF!h9*xv7uG`JhNU&M`-iLc=H=URJ!6<x&4Sr7D`?f<Qls93 diff --git a/verarbeitung/import_from_json.py b/verarbeitung/import_from_json.py index 22e30ec..9fe099f 100644 --- a/verarbeitung/import_from_json.py +++ b/verarbeitung/import_from_json.py @@ -16,8 +16,9 @@ __status__ = "Production" import json #sys.path.insert(1, 'C:\Users\Malte\Git\CiS-Projekt\ci-s-projekt-verarbeitung\input') +import sys +sys.path.append("../") from input.interface import InputInterface as Input -#import input class Publication: diff --git a/verarbeitung/print_graph_test.py b/verarbeitung/print_graph_test.py index 3925ca1..3209485 100644 --- a/verarbeitung/print_graph_test.py +++ b/verarbeitung/print_graph_test.py @@ -19,7 +19,6 @@ import sys #sys.path.insert(1, 'C:\Users\Malte\Git\CiS-Projekt\ci-s-projekt-verarbeitung\input') sys.path.append("../") from input.interface import InputInterface as Input -#import input from Processing import process_main from import_from_json import input_from_json from update_graph import check_graph_updates diff --git a/verarbeitung/update_graph.py b/verarbeitung/update_graph.py index d178845..5711068 100644 --- a/verarbeitung/update_graph.py +++ b/verarbeitung/update_graph.py @@ -16,10 +16,9 @@ __status__ = "Production" import sys from pathlib import Path #sys.path.insert(1, 'C:\Users\Malte\Git\CiS-Projekt\ci-s-projekt-verarbeitung\input') -sys.path.append(".") +sys.path.append("../") from input.interface import InputInterface as Input from input_test import input_test_func -#import input from Knoten_Vergleich import doi_listen_vergleichen from Kanten_Vergleich import back_to_valid_edges -- GitLab