Closed jgrooviest closed 1 year ago
https://github.com/USEPA/ElectricityLCI/blob/2232c41f2cb4fd333ad59c8710aa55906e6a7ed3/electricitylci/combinator.py#L200-L201
The sum aggregate function on FlowAmount will concatenate the string form of the flow amount, causing errors when converting the flow amount later (e.g., you get a cell value like 5.02125.02125). Converting to a float seems to fix the problem.
5.02125.02125
https://github.com/USEPA/ElectricityLCI/blob/2232c41f2cb4fd333ad59c8710aa55906e6a7ed3/electricitylci/combinator.py#L200-L201
The sum aggregate function on FlowAmount will concatenate the string form of the flow amount, causing errors when converting the flow amount later (e.g., you get a cell value like
5.02125.02125
). Converting to a float seems to fix the problem.