Skip to content

Commit 205ce68

Browse files
authored
Merge branch 'LCA-ActivityBrowser:main' into fix-paramter-mc
2 parents 6804349 + 2c151eb commit 205ce68

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

activity_browser/layouts/tabs/LCA_results_tabs.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1551,7 +1551,10 @@ def data_to_df(self, all_data: List[list], compare: str) -> pd.DataFrame:
15511551

15521552
all_data[i] = item, data, col_name
15531553

1554-
self.unit = get_unit(self.parent.method_dict[self.combobox_menu.method.currentText()], self.relative)
1554+
if compare == "Impact Categories":
1555+
self.unit = get_unit(method=False, relative=self.relative)
1556+
else:
1557+
self.unit = get_unit(self.parent.method_dict[self.combobox_menu.method.currentText()], self.relative)
15551558

15561559
# convert to dict format to feed into dataframe
15571560
for key in unique_keys:

0 commit comments

Comments
 (0)