Skip to content

Commit 74543b9

Browse files
committed
File paths adjusted to proper format.
1 parent 56d3234 commit 74543b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tools/graphMLVis/visualize_graphML.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def changegraphml(self, path):
2424
def changenodetype(self):
2525
self.node_type = radio_var.get()
2626

27-
dVars = VSet(os.path.normpath("Tools\gis2graph\graph_files\King_county_NG911.graphml"), "EMS")
27+
dVars = VSet(os.path.normpath("Tools/gis2graph/graph_files/King_county_NG911.graphml"), "EMS")
2828

2929
# submit button logic
3030
def submit():
@@ -45,7 +45,7 @@ def buttonSelect():
4545
fLabel0.grid(row=0, column=0)
4646
fEntry0 = Entry(window, width=55)
4747
fEntry0.grid(row=0, column=1)
48-
fEntry0.insert(0, os.path.normpath("Tools\gis2graph\graph_files\King_county_NG911.graphml"))
48+
fEntry0.insert(0, os.path.normpath("Tools/gis2graph/graph_files/King_county_NG911.graphml"))
4949
fButton0 = Button(window, text="Select File", command=buttonSelect)
5050
fButton0.grid(row=0, column=2)
5151

@@ -95,8 +95,8 @@ def buttonSelect():
9595

9696
square_counter = 0
9797

98-
psap_layer = gpd.read_file(os.path.normpath("Tools\gis2graph\GIS_data\Layers\PSAP_layer.gpkg"))
99-
provisioning_layer = gpd.read_file(os.path.normpath("Tools\gis2graph\GIS_data\Layers\Provisioning_layer.gpkg"))
98+
psap_layer = gpd.read_file(os.path.normpath("Tools/gis2graph/GIS_data/Layers/PSAP_layer.gpkg"))
99+
provisioning_layer = gpd.read_file(os.path.normpath("Tools/gis2graph/GIS_data/Layers/Provisioning_layer.gpkg"))
100100

101101
# create series of boolean values denoting whether geometry is within King County
102102
psap_within_kc = psap_layer.within(provisioning_layer.iloc[21].geometry)

0 commit comments

Comments
 (0)