@@ -62,7 +62,7 @@ def get_unit(method: tuple, relative: bool = False) -> str:
6262
6363# Special namedtuple for the LCAResults TabWidget.
6464Tabs = namedtuple (
65- "tabs" , ("inventory" , "results" , "ef" , "process" , "ft" , " sankey" , "tree" , "mc" , "gsa" )
65+ "tabs" , ("inventory" , "results" , "ef" , "process" , "sankey" , "tree" , "mc" , "gsa" )
6666)
6767Relativity = namedtuple ("relativity" , ("relative" , "absolute" ))
6868TotalMenu = namedtuple ("total_menu" , ("score" , "range" ))
@@ -115,7 +115,7 @@ def __init__(self, cs_name, mlca, contributions, mc, parent=None):
115115 results = LCAResultsTab (self ),
116116 ef = ElementaryFlowContributionTab (self ),
117117 process = ProcessContributionsTab (self ),
118- ft = FirstTierContributionsTab (self .cs_name , parent = self ),
118+ # ft=FirstTierContributionsTab(self.cs_name, parent=self),
119119 sankey = web .SankeyNavigatorWidget (self .cs_name , parent = self ),
120120 tree = web .TreeNavigatorWidget (self .cs_name , parent = self ),
121121 mc = MonteCarloTab (
@@ -128,7 +128,7 @@ def __init__(self, cs_name, mlca, contributions, mc, parent=None):
128128 results = "LCA Results" ,
129129 ef = "EF Contributions" ,
130130 process = "Process Contributions" ,
131- ft = "FT Contributions" ,
131+ # ft="FT Contributions",
132132 sankey = "Sankey" ,
133133 tree = "Tree" ,
134134 mc = "Monte Carlo" ,
@@ -169,11 +169,11 @@ def generate_content_on_click(self, index):
169169 if not self .tabs .sankey .has_sankey :
170170 log .info ("Generating Sankey Tab" )
171171 self .tabs .sankey .new_sankey ()
172- elif index == self .indexOf (self .tabs .ft ):
173- if not self .tabs .ft .has_been_opened :
174- log .info ("Generating First Tier results" )
175- self .tabs .ft .has_been_opened = True
176- self .tabs .ft .update_tab ()
172+ # elif index == self.indexOf(self.tabs.ft):
173+ # if not self.tabs.ft.has_been_opened:
174+ # log.info("Generating First Tier results")
175+ # self.tabs.ft.has_been_opened = True
176+ # self.tabs.ft.update_tab()
177177
178178 if index == self .indexOf (self .tabs .tree ):
179179 if not self .tabs .tree .has_rendered_once :
0 commit comments