Skip to content

Commit

Permalink
Merge pull request #117 from USEPA/issue_114
Browse files Browse the repository at this point in the history
use `.to_ref()` to avoid unnecessary data
  • Loading branch information
bl-young authored Jun 5, 2024
2 parents 2f964e5 + 447d9b5 commit 6cfbac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lciafmt/jsonld.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def write(self, df: pd.DataFrame, write_flows=False, preferred_only=False):
indicator = self.__indicator(row)
factor = o.ImpactFactor()
unit = row['Unit']
factor.flow = self.__flow(row)
factor.flow = self.__flow(row).to_ref()
factor.flow_property = units.property_ref(unit)
factor.unit = units.unit_ref(unit)
factor.value = row['Characterization Factor']
Expand Down

0 comments on commit 6cfbac3

Please sign in to comment.