SIENTIAPDE-1110
Fix aggregation function key in Gates activity from 'aggr_function' to 'aggr_func' for consistency in data processing.
This commit is contained in:
@@ -93,7 +93,7 @@ class Gates(BaseActivity):
|
|||||||
for (tag, name), group in grouped:
|
for (tag, name), group in grouped:
|
||||||
# Get the aggregation function from model_tags
|
# Get the aggregation function from model_tags
|
||||||
aggr_function = input_data['model_tags'].get(
|
aggr_function = input_data['model_tags'].get(
|
||||||
name, {}).get('aggr_function', 'lts')
|
name, {}).get('aggr_func', 'lts')
|
||||||
|
|
||||||
group.sort_values(by='timestamp', inplace=True)
|
group.sort_values(by='timestamp', inplace=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user