From 824b3e562b5e0e7f9450b06a45deabda6ebe20df Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Tue, 28 Nov 2017 20:58:01 +0000 Subject: [PATCH] local commits on remote computer --- trisurf/trisurf.py | 12 ++++++------ trisurf/Remote.py | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/trisurf/Remote.py b/trisurf/Remote.py index 2bf80f1..aec5762 100644 --- a/trisurf/Remote.py +++ b/trisurf/Remote.py @@ -26,6 +26,7 @@ self.connected=True # except: # print("Error establishing connection with "+self.username+"@"+self.hostname+":"+str(self.port)+".") +# self.connected=False # exit(1) else: print("Already connected!") diff --git a/trisurf/trisurf.py b/trisurf/trisurf.py index 9245fb3..746df3a 100644 --- a/trisurf/trisurf.py +++ b/trisurf/trisurf.py @@ -462,12 +462,12 @@ def setMaindir(self,prefix,variables): maindir="" for p,v in zip(prefix,variables): - if(v=="xk0"): - tv=str(round(float(self.Tape.config[v]))) - if sys.version_info<(3,0): - tv=str(int(float(self.Tape.config[v]))) - else: - tv=self.Tape.config[v] + #if(v=="xk0"): + # tv=str(round(float(self.Tape.config[v]))) + # if sys.version_info<(3,0): + # tv=str(int(float(self.Tape.config[v]))) + #else: + tv=str(self.Tape.config[v]) maindir=maindir+p+tv self.maindir=maindir return -- Gitblit v1.9.3