-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When following the example laid out in the wiki / pages about how to use graph_and_report, using the exact example (with updated filter name to reflect current outputs) or a similar format with different filters, it gives an error and does not produce a graph.
The error is:
Error plotting 'Last Year's Average Cow Body Weight (kg)' data set. Unforeseen error 'NoneType' object has no attribute 'start_date' when trying to graph data.
Steps to Reproduce
- Include the following in a report filter:
{
"name": "Last Year's Average Cow Body Weight (kg)",
"filters": [
"AnimalModuleReporter.report_herd_statistics_data.avg_cow_body_weight"
],
"slice_start": -365,
"graph_and_report": true,
"graph_details": {
"type": "plot",
"filters": [
"AnimalModuleReporter.report_herd_statistics_data.avg_cow_body_weight"
]
}
}
Note: this is copy/pasted from the example in the wiki, just with the filter updated from AnimalModuleReporter.report_life_cycle_manager_data.avg_cow_body_weight to AnimalModuleReporter.report_herd_statistics_data.avg_cow_body_weight to reflect updated output names
Context (Environment)
Detailed Description
Possible Implementation
Target Deadline
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working