Skip to content

Commit

Permalink
tabs spaces fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dpinney committed Dec 9, 2023
1 parent 479eee8 commit 52df4a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions omf/models/networkStructure.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def prim(graph):

def testingSimple(testPath, pathToCsv, workDir, useDist, useVolt):
'visualize the different MSTs based on distance data, voltage data, and actual connectivity'

# generate date
nodes, volt, tree, workDir, inputDataDist, inputDataVolt, outputData = generateData(testPath, pathToCsv, workDir, useDist, useVolt)

Expand All @@ -281,7 +281,7 @@ def testingSimple(testPath, pathToCsv, workDir, useDist, useVolt):
for val in expectedDist:
distMST[val[0]][val[1]] = 1
for val in expectedVolt:
voltMST[val[0]][val[1]] = 1
voltMST[val[0]][val[1]] = 1
for val in actual:
actualMST[val[0]][val[1]] = 1

Expand Down Expand Up @@ -443,7 +443,7 @@ def createTrainingData(trainPath, pathToCsv, workDir, X_train, y_train, useDist,
distMST[val[0]][val[1]] = 1

for val in expectedVolt:
voltMST[val[0]][val[1]] = 1
voltMST[val[0]][val[1]] = 1

for val in actual:
actualMST[val[0]][val[1]] = 1
Expand Down

0 comments on commit 52df4a5

Please sign in to comment.