copycorpus
authorPierre <ratinaud@univ-tlse2.fr>
Fri, 25 Jan 2013 10:18:04 +0000 (11:18 +0100)
committerPierre <ratinaud@univ-tlse2.fr>
Fri, 25 Jan 2013 10:18:04 +0000 (11:18 +0100)
openanalyse.py

index 2cf40c8..d24025a 100644 (file)
@@ -103,7 +103,7 @@ class OpenAnalyse():
     def openanalyse(self) :
         if self.conf['corpus'] in self.parent.history.openedcorpus :
             log.info('corpus is already opened 2')
-            corpus = self.parent.history.openedcorpus[self.conf['corpus']]
+            corpus = copycorpus(self.parent.history.openedcorpus[self.conf['corpus']])
         else :
             if os.path.exists(self.parent.history.history[self.parent.history.ordercorpus[self.conf['corpus']]]['ira']) :
                 corpus = Corpus(self, parametres = DoConf(self.parent.history.history[self.parent.history.ordercorpus[self.conf['corpus']]]['ira']).getoptions('corpus'), read = self.parent.history.history[self.parent.history.ordercorpus[self.conf['corpus']]]['ira'])