Python wrapper for running instances of trisurf-ng
Samo Penic
2017-11-28 84450d8424bed78a8ae5f8c7594c847aa361e6ca
trisurf/trisurf.py
@@ -465,12 +465,7 @@
   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]
         tv=str(self.Tape.config[v])
         maindir=maindir+p+tv
      self.maindir=maindir
      return