Пример #1
0
 def openIn(self, autoDecompress=True):
     """open the input file for reading in the ExRun process"""
     path = self.__setupIn()
     if fileOps.isCompressed(path) and autoDecompress:
         return fileOps.openz(path)
     else:
         return open(path)
Пример #2
0
 def openIn(self, autoDecompress=True):
     """open the input file for reading in the ExRun process"""
     path = self.__setupIn()
     if fileOps.isCompressed(path) and autoDecompress:
         return fileOps.openz(path)
     else:
         return open(path)
Пример #3
0
 def openOut(self, autoCompress=True):
     """open the output file for writing from the ExRun process"""
     path = self.__setupOut(autoCompress)
     if fileOps.isCompressed(path) and autoCompress:
         return fileOps.openz(path, "w")
     else:
         return open(path, "w")
Пример #4
0
 def openOut(self, autoCompress=True):
     """open the output file for writing from the ExRun process"""
     path = self.__setupOut(autoCompress)
     if fileOps.isCompressed(path) and autoCompress:
         return fileOps.openz(path, "w")
     else:
         return open(path, "w")