Skip to content

Commit 1283488

Browse files
committed
fix test case
1 parent e5df5fc commit 1283488

File tree

1 file changed

+2
-2
lines changed
  • ads/opctl/operator/lowcode/forecast/model

1 file changed

+2
-2
lines changed

ads/opctl/operator/lowcode/forecast/model/theta.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,10 @@ def _generate_report(self):
329329

330330
# ---- Combine into final section like ARIMA example ----
331331
theta_title = rc.Heading("Theta Model Parameters", level=2)
332-
332+
theta_section = []
333333
if len(theta_blocks) > 1:
334334
theta_section = rc.Select(blocks=theta_blocks)
335-
else:
335+
elif len(theta_blocks) == 1:
336336
theta_section = theta_blocks[0]
337337

338338
all_sections.extend([theta_title, theta_section])

0 commit comments

Comments
 (0)