extracted air tightness

This commit is contained in:
Khalim Conn-Kowlessar 2024-11-28 14:08:31 +00:00
parent 5e7827f706
commit 2cfc881044

View file

@ -261,6 +261,15 @@ def handler():
summary_to_insert
)
if extracted_contents.get("pulse air permeability"):
# We extract the AP50 number
results_table = extracted_contents["pulse air permeability"]["Results Table"]
ap50 = [x["Extrapolated @ 50PA"] for x in results_table if x["Metric"] == "Air Permeability"][0]
update_dictionary_with_check(
output_row_data,
{"Pre Air Tightness": ap50}
)
extracted.append(output_row_data)
extracted_df = pd.DataFrame(extracted)