From 8707b110009cd64ed7b74e487f2e66335aa13778 Mon Sep 17 00:00:00 2001 From: Pierre Ratinaud Date: Sun, 21 Dec 2014 15:19:45 +0100 Subject: [PATCH 1/1] ... --- layout.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout.py b/layout.py index 7992583..0d4cac8 100644 --- a/layout.py +++ b/layout.py @@ -1214,7 +1214,7 @@ class SimiLayout(DefaultTextLayout) : E(graph)$weight <- graph.simi$we.width write.graph(graph, fileout, format = 'graphml') #saveAsGEXF(graph, filepath = fileout) - """ % (self.pathout['RData.RData'], self.parent.RscriptsPath['simi'], fileout) + """ % (ffr(self.pathout['RData.RData']), ffr(self.parent.RscriptsPath['simi']), fileout) filetmp = tempfile.mktemp() with open(filetmp, 'w') as f : f.write(txt) @@ -1457,7 +1457,7 @@ class SimiMatLayout(DefaultMatLayout) : E(graph)$weight <- graph.simi$we.width write.graph(graph, fileout, format = 'graphml') #saveAsGEXF(graph, filepath = fileout) - """ % (self.pathout['RData.RData'], self.parent.RscriptsPath['simi'], fileout) + """ % (ffr(self.pathout['RData.RData']), ffr(self.parent.RscriptsPath['simi']), fileout) filetmp = tempfile.mktemp() with open(filetmp, 'w') as f : f.write(txt) -- 2.7.4