From 6e2c82e1a37ad700b37f71a7551cab84a079f26e Mon Sep 17 00:00:00 2001 From: Alireza Adli Date: Sun, 13 Oct 2024 12:17:51 -0400 Subject: [PATCH] Correct the search_materials name based on the new name: material_embodied --- lca_carbon_workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lca_carbon_workflow.py b/lca_carbon_workflow.py index ae0a82b..b2b28ee 100644 --- a/lca_carbon_workflow.py +++ b/lca_carbon_workflow.py @@ -123,7 +123,7 @@ class LCACarbonWorkflow: for layer in boundary.layers: if not layer.no_mass: layer_material = \ - self.nrcan_catalogs.search_materials(layer.material_name) + self.nrcan_catalogs.material_embodied(layer.material_name) layer_emission.append(EnvelopeEmission( layer_material['embodied_carbon'], boundary.opaque_area,