USEPA / flowsa

Library that attributes resource use, waste, emissions, and loss to economic sectors
MIT License
23 stars 19 forks source link

duplicate functions for flow mapping #419

Open bl-young opened 2 months ago

bl-young commented 2 months ago

SInce v2.0, there are two functions that handle flow mapping and they are not used consistently:

https://github.com/USEPA/flowsa/blob/e7d35a149cf327a6eb3ecd43b9c06edc69c8326d/flowsa/sectormapping.py#L75-L91

https://github.com/USEPA/flowsa/blob/e7d35a149cf327a6eb3ecd43b9c06edc69c8326d/flowsa/flowbyactivity.py#L130-L135

I don't believe this is causing any errors but the duplication is confusing