self.parametres = self.make_config(parametres)
if self.parametres is not None:
self.keys = DoConf(self.ira.ConfigPath['key']).getoptions()
- print(self.keys)
gramact = [k for k in self.keys if self.keys[k] == 1]
gramsup = [k for k in self.keys if self.keys[k] == 2]
self.parametres['pathout'] = self.pathout.mkdirout()
else :
grams = {gram :''}
tokeep = [lem for lem in self.lems if self.lems[lem].freq >= mineff and self.lems[lem].act in grams]
- print(tokeep)
etuces = [[] for et in etoiles]
for uci in self.ucis :
get = list(set(uci.etoiles).intersection(etoiles))
i+=1
self.SetColumnWidth(0, 250)
for i in range(0,len(self.etoiles)):
- size = self.checkcolumnwidth(len(self.etoiles[i]) * 20)
- if size < 200 :
- size = 200
- self.SetColumnWidth(i + 1, size)
+ #size = self.checkcolumnwidth(len(self.etoiles[i]) * 20)
+ #if size < 200 :
+ # size = 200
+ #self.SetColumnWidth(i + 1, size)
+ self.SetColumnWidth(i+1, wx.LIST_AUTOSIZE_USEHEADER)
+ size = self.GetColumnWidth(i+1)
+ if size < 80 :
+ self.SetColumnWidth(i+1, 80)
+ if size > 300 :
+ self.SetColumnWidth(i+1, 300)
self.itemDataMap = self.dlist
self.itemIndexMap = list(self.dlist.keys())
self.SetItemCount(len(self.dlist))