Jelajahi Sumber

mxg:change import ignore dir package

mengxiangge 5 tahun lalu
induk
melakukan
e42d236f92

+ 1 - 1
src/system_relation/graph_model.py

@@ -1,7 +1,7 @@
 """Graph Model.
 """
 from enum import Enum
-from src.system_relation import systemutils, revit_const, systemdatautils,graph_model
+import systemutils, revit_const, systemdatautils,graph_model
 
 
 class SystemVertex:

+ 1 - 1
src/system_relation/systemutils.py

@@ -5,7 +5,7 @@
 
 from functools import cmp_to_key
 import vg
-from src.system_relation import graph_model, revit_const
+import graph_model, revit_const
 
 
 def path2edge(elements):

+ 1 - 1
src/system_relation/test_flowdirection.py

@@ -1,4 +1,4 @@
-from src.system_relation import calc_flowdirection, systemdatautils
+import calc_flowdirection, systemdatautils
 
 if __name__=="__main__":
 	project_id="Pj1101010015"