...
authorPierre Ratinaud <ratinaud@univ-tlse2.fr>
Fri, 18 Jul 2014 23:44:53 +0000 (01:44 +0200)
committerPierre Ratinaud <ratinaud@univ-tlse2.fr>
Fri, 18 Jul 2014 23:44:53 +0000 (01:44 +0200)
ProfList.py
guifunct.py
layout.py
profile_segment.py
textafcuci.py

index e882f7e..5e58a99 100644 (file)
@@ -795,7 +795,7 @@ class ProfListctrlPanel(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.Col
 class wliste(wx.Frame):
     def __init__(self, parent, id, title, d, fline, size=(600, 500)):
         wx.Frame.__init__(self, parent, id)
 class wliste(wx.Frame):
     def __init__(self, parent, id, title, d, fline, size=(600, 500)):
         wx.Frame.__init__(self, parent, id)
-        self.liste = ListForSpec(self, parent, d, fline, menu = False)
+        self.liste = ListForSpec(self, parent, d, fline[1:], menu = False)
         self.button_1 = wx.Button(self, -1, "Fermer")
         self.Bind(wx.EVT_BUTTON, self.OnCloseMe, self.button_1)
         self.Bind(wx.EVT_CLOSE, self.OnCloseWindow)
         self.button_1 = wx.Button(self, -1, "Fermer")
         self.Bind(wx.EVT_BUTTON, self.OnCloseMe, self.button_1)
         self.Bind(wx.EVT_CLOSE, self.OnCloseWindow)
index ef718c0..47f49db 100644 (file)
@@ -115,7 +115,7 @@ class SelectColumn :
         self.ira = parent
         if dlg :
             dial = dialog.SelectColDial(self.ira)
         self.ira = parent
         if dlg :
             dial = dialog.SelectColDial(self.ira)
-            listcol = ListForSpec(dial, self, dictcol, ['forme', 'eff'])
+            listcol = ListForSpec(dial, self, dictcol, ['eff'])
             dial.bSizer2.Add( listcol, 2, wx.ALL|wx.EXPAND, 5 )
             dial.m_sdbSizer2.AddButton( dial.m_sdbSizer2OK )
             dial.m_sdbSizer2.AddButton( dial.butok)
             dial.bSizer2.Add( listcol, 2, wx.ALL|wx.EXPAND, 5 )
             dial.m_sdbSizer2.AddButton( dial.m_sdbSizer2OK )
             dial.m_sdbSizer2.AddButton( dial.butok)
@@ -167,7 +167,7 @@ class PrefSimi ( wx.Dialog ):
         
         bSizer16 = wx.BoxSizer( wx.HORIZONTAL )
         if wordlist is not None :
         
         bSizer16 = wx.BoxSizer( wx.HORIZONTAL )
         if wordlist is not None :
-            self.listcol = ListForSpec(self, self, wordlist, ['forme', 'eff'])
+            self.listcol = ListForSpec(self, self, wordlist, ['eff'])
             self.listcol.SetMinSize( wx.Size( 270,-1 ) )
             bSizer16.Add( self.listcol, 0, wx.ALL|wx.EXPAND, 5 )
             if selected is None :
             self.listcol.SetMinSize( wx.Size( 270,-1 ) )
             bSizer16.Add( self.listcol, 0, wx.ALL|wx.EXPAND, 5 )
             if selected is None :
index 2c3f41c..aa09840 100644 (file)
--- a/layout.py
+++ b/layout.py
@@ -469,7 +469,7 @@ class OpenCHDS():
             
             if os.path.exists(self.DictPathOut['afc_facteur']) :
                 dictrow, first = ReadList(self.DictPathOut['afc_facteur'], self.encoding)
             
             if os.path.exists(self.DictPathOut['afc_facteur']) :
                 dictrow, first = ReadList(self.DictPathOut['afc_facteur'], self.encoding)
-                self.TabAFC_facteur = ListForSpec(self.parent, parametres, dictrow, first)
+                self.TabAFC_facteur = ListForSpec(self.parent, parametres, dictrow, first[1:])
                 #dictrow, first = ReadList(self.DictPathOut['afc_row'], self.encoding)
                 #self.TabAFC_ligne = ListForSpec(self.parent, self.parametres, dictrow, first)
                 #dictrow, first = ReadList(self.DictPathOut['afc_col'], self.encoding)
                 #dictrow, first = ReadList(self.DictPathOut['afc_row'], self.encoding)
                 #self.TabAFC_ligne = ListForSpec(self.parent, self.parametres, dictrow, first)
                 #dictrow, first = ReadList(self.DictPathOut['afc_col'], self.encoding)
index b7e1f24..b0ca4c4 100644 (file)
@@ -146,7 +146,7 @@ class ProfilType() :
                 prof_seg_nb.AddPage(ntab, 'classe %i' % (i + 1))
         else :
             self.DictSpec, first = ReadList(self.outprof)
                 prof_seg_nb.AddPage(ntab, 'classe %i' % (i + 1))
         else :
             self.DictSpec, first = ReadList(self.outprof)
-            self.ListPan = ListForSpec(self.parent, self, self.DictSpec, first)
+            self.ListPan = ListForSpec(self.parent, self, self.DictSpec, first[1:])
             prof_seg_nb.AddPage(self.ListPan, u'Spécificités')
 
         page.AddPage(prof_seg_nb, u'Profils des types')
             prof_seg_nb.AddPage(self.ListPan, u'Spécificités')
 
         page.AddPage(prof_seg_nb, u'Profils des types')
index d030413..bdfad06 100644 (file)
@@ -108,7 +108,7 @@ class AfcUci():
         #self.TabAfcSplit.SetPage(txtafcsplit)
         
         dictrow, first = ReadList(self.corpus.dictpathout['afc_row'])
         #self.TabAfcSplit.SetPage(txtafcsplit)
         
         dictrow, first = ReadList(self.corpus.dictpathout['afc_row'])
-        panel_list = ListForSpec(parent, self, dictrow, first)
+        panel_list = ListForSpec(parent, self, dictrow, first[1:])