Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/osut/osut.py
Original file line number Diff line number Diff line change
Expand Up @@ -1665,12 +1665,11 @@ def scheduleIntervalMinMax(sched=None) -> dict:
return oslg.mismatch("sched", sched, cl, mth, CN.DBG, res)

values = sched.timeSeries().values()
length = len(values)

for i in range(length):
for i in range(len(values)):
try:
value = float(values[i])
value = vals.append(value)
vals.append(value)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better.

except:
oslg.invalid("numerical at %d" % i, mth, 1, CN.ERR)

Expand Down