projects
/
iramuteq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
097e701
)
correction segment sizes
author
pierre
<ratinaud@univ-tlse2.fr>
Mon, 28 Mar 2022 15:44:53 +0000
(17:44 +0200)
committer
pierre
<ratinaud@univ-tlse2.fr>
Mon, 28 Mar 2022 15:44:53 +0000
(17:44 +0200)
textstat.py
patch
|
blob
|
history
diff --git
a/textstat.py
b/textstat.py
index
7fdf5bd
..
7d84fa6
100755
(executable)
--- a/
textstat.py
+++ b/
textstat.py
@@
-84,7
+84,7
@@
class Stat(AnalyseText) :
open_file_graph("%s", width = 400, height = 400)
barplot(table(stsize[,1]))
dev.off()
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)
tmpscript = tempfile.mktemp(dir=self.parent.TEMPDIR)
with open(tmpscript, 'w') as f :
f.write(txt)