Skip to content

Commit e75bbbd

Browse files
committed
Fix whitespace
1 parent 92322f4 commit e75bbbd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

opendssdirect/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ def __init__(self, module, function):
2424

2525
def __iter__(self):
2626
import opendssdirect as dss
27-
27+
2828
try:
2929
idx = self.module.First()
3030
except:
3131
return # no circuit?
32-
32+
3333
if dss.Error.ExtendedErrors() and idx == 0:
3434
return # nothing to iterate
3535

@@ -246,9 +246,9 @@ def monitor_to_dataframe(dss=None):
246246
if dss.Solution.Mode() in (dss_py.enums.SolveModes.Harmonic, 17):
247247
# Note: Mode 17 is HarmonicT but it was not exposed in the enum
248248
# ported from COM as of 2021-01-03
249-
columns = ['frequency', 'harmonic']
249+
columns = ['frequency', 'harmonic']
250250
else:
251-
columns = ['hour', 'second']
251+
columns = ['hour', 'second']
252252

253253
columns.extend(col.strip() for col in dss.Monitors.Header())
254254
data = dss.Monitors.AsMatrix()

0 commit comments

Comments
 (0)