nur Absätze rein
This commit is contained in:
+1
-1
@@ -29,7 +29,6 @@ def write_results(jsnResults, outdir, filename):
|
|||||||
def to_json(d, pretty: bool = True) -> str:
|
def to_json(d, pretty: bool = True) -> str:
|
||||||
return json.dumps(d, indent=2 if pretty else None, ensure_ascii=False, default=str) #ensure_ascii false für darstellung von "ue"
|
return json.dumps(d, indent=2 if pretty else None, ensure_ascii=False, default=str) #ensure_ascii false für darstellung von "ue"
|
||||||
|
|
||||||
|
|
||||||
def create_plant(racks:dict, sensors:dict, distributors:dict, mapping:dict, tunnels: dict, tunlength:dict ) -> dict:
|
def create_plant(racks:dict, sensors:dict, distributors:dict, mapping:dict, tunnels: dict, tunlength:dict ) -> dict:
|
||||||
|
|
||||||
# racks = {'Rack_1-0': [Point(0, 0), Point(0, 10)],
|
# racks = {'Rack_1-0': [Point(0, 0), Point(0, 10)],
|
||||||
@@ -90,6 +89,7 @@ def create_plant(racks:dict, sensors:dict, distributors:dict, mapping:dict, tunn
|
|||||||
|
|
||||||
# Ermittle kürzeste Wege von Unterverteilern zu zugehörigen Sensoren
|
# Ermittle kürzeste Wege von Unterverteilern zu zugehörigen Sensoren
|
||||||
paths = an.create_cable_paths(G)
|
paths = an.create_cable_paths(G)
|
||||||
|
|
||||||
if args.graph:
|
if args.graph:
|
||||||
print("Displaying Graph in seperate window. To continue please close that window.")
|
print("Displaying Graph in seperate window. To continue please close that window.")
|
||||||
draw_graph(G,an)
|
draw_graph(G,an)
|
||||||
|
|||||||
Reference in New Issue
Block a user