(self)
return mode, name_in, name_out
Get parameters for file conversion.
Get parameters for file conversion.
Get parameters for file conversion .
def conv_params(self):
        """Get parameters for file conversion."""
        # conversion output
        # first arg, if given, is mode; second arg, if given, is outfile
        mode = self.get('convert')
        # keep uppercase first letter
        mode = mode[0].upper() if mode else 'A'
        name_in = (self.get(0) or self.get('run') or self.get('load'))
        name_out = self.get(1)
        return mode, name_in, name_out
def conv_params ( self ) : # conversion output # first arg, if given, is mode; second arg, if given, is outfile mode = self . get ( 'convert' ) # keep uppercase first letter mode = mode [ 0 ] . upper ( ) if mode else 'A' name_in = ( self . get ( 0 ) or self . get ( 'run' ) or self . get ( 'load' ) ) name_out = self . get ( 1 ) return mode , name_in , name_out