segment size graphic
authorpierre <ratinaud@univ-tlse2.fr>
Mon, 28 Mar 2022 16:31:18 +0000 (18:31 +0200)
committerpierre <ratinaud@univ-tlse2.fr>
Mon, 28 Mar 2022 16:31:18 +0000 (18:31 +0200)
textstat.py

index 7fdf5bd..7d84fa6 100755 (executable)
@@ -84,7 +84,7 @@ class Stat(AnalyseText) :
         open_file_graph("%s", width = 400, height = 400)
         barplot(table(stsize[,1]))
         dev.off()
-        """ % (self.pathout['stsize.csv'], self.pathout['segments_size.png'])
+        """ % (ffr(self.pathout['stsize.csv'])ffr(, self.pathout['segments_size.png']))
         tmpscript = tempfile.mktemp(dir=self.parent.TEMPDIR)
         with open(tmpscript, 'w') as f :
             f.write(txt)