Skip to content

Commit

Permalink
Fixing Trend identifier and real name
Browse files Browse the repository at this point in the history
  • Loading branch information
rugue1 authored and JamesPHoughton committed Oct 9, 2017
1 parent 4567f5e commit 983c026
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pysd/py_backend/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,10 @@ def add_n_trend(trend_input, average_time, initial_trend, subs, subscript_dict):
"""

stateful = {
'py_name': utils.make_python_identifier('smooth_%s_%s_%s' % (trend_input,
'py_name': utils.make_python_identifier('trend_%s_%s_%s' % (trend_input,
average_time,
initial_trend))[0],
'real_name': 'Smooth of %s' % trend_input,
'real_name': 'trend of %s' % trend_input,
'doc': 'Trend average time: %s \n Trend initial value %s' % (
average_time, initial_trend),
'py_expr': 'functions.Trend(lambda: %s, lambda: %s, lambda: %s)' % (
Expand Down

0 comments on commit 983c026

Please sign in to comment.