def GenerateNewFilePath(self, fileDir = None):
    """
    Create new file path. If a fileDir is provided it will be used otherwise
    the original file path is used. Updates file info object with new path.

    Parameters
    ----------
      fileDir : string [optional : default = None]
        Optional file directory
    """
    newFileName = self.GenerateNewFileName()
    if newFileName is not None:
      if fileDir is None:
        fileDir = os.path.dirname(self.fileInfo.origPath)
      self.fileInfo.newPath = os.path.join(fileDir, newFileName)
def GenerateNewFilePath ( self , fileDir = None ) : newFileName = self . GenerateNewFileName ( ) if newFileName is not None : if fileDir is None : fileDir = os . path . dirname ( self . fileInfo . origPath ) self . fileInfo . newPath = os . path . join ( fileDir , newFileName )
Create new file path. If a fileDir is provided it will be used otherwise
    the original file path is used. Updates file info object with new path.

    Parameters
    ----------
      fileDir : string [optional : default = None]
        Optional file directory