Local Results File Name

DESCRIPTION:

Returns a file name in the local results directory.

USAGE:

spserver.results.file(file="")

OPTIONAL ARGUMENTS:

file
a file name within the current results directory, possibly including slashes.

VALUE:

A full local file name of a file within the current results directory.

DETAILS:

Returns a file name in the local working directory for storing results for this execution. If file is "", this returns the results directory, otherwise the file argument is added to the directory to construct a complete file path.

EXAMPLES:

# get file name for whole results directory

spserver.results.file()

# get file name for file foo in the results directory

spserver.results.file("foo")

# get file name for file foo in subdirectory sub

spserver.results.file("sub/foo")