config *
Protected
envproperties *
parent pointer *
specified path with filename
Optional
options: options = {}dictionary with string options
command execution output
creates an empty file at specified path
file content (either string or dictionary)
specified path with filename
dictionary with string options (not used)
Optional
muteEvent: boolean = falseset to True if you want to mute maintauner emitted Event
creates file with specified content
input file string (input folder to download)
output folder
set to True if you want to mute maintainer emitted Event
Uncompresses the specified zip file to the Local folder (downloads a folder from the HPC to the local machine)
command/commands that need to be executed
execution options
set to True if you want to mute maintauner emitted Event
set to True if you want to mute maintainer emitted Log
set to True if you want the command/commands to continue despite errors
out - maintainer output
Executes the command on the maintainer and returns the outpt
Private
getSBatchReturns the homeDirectory path of the HPC
Optional
options: options = {}dictionary with string options
returns command execution output
Optional
path: stringOptional
options: options = {}dictionary with string options
returns command execution output
Returns all of the files/directories in specified path
specified path with filename
Optional
options: options = {}dictionary with string options
Optional
muteEvent: boolean = falseset to True if you want to mute maintauner emitted Event
command execution output
creates directory at specified path
Creates slurm string with specified configuation. Saves it to this.template.
command that needs to be executed
slurm configuration
Optional
path: stringOptional
options: options = {}dictionary with string options
returns command execution output
Returns the specified path
path to test for
Optional
options: optionsoptions for doing an exec
true if path exists; false if not
Determines whether a passed in (absolute) path exists on the HPC.
specified path with filename
Optional
options: options = {}set to True if you want to mute maintauner emitted Event
Optional
muteEvent: boolean = falsecommand execution output
removes the file/folder at specified path
input file/directory path
compress file path with file name
Optional
options: options = {}dictionary with string options
Optional
muteEvent: boolean = falseset to True if you want to mute maintauner emitted Event
command execution output
tars the file/directory at specified path
input file string
output folder
set to True if you want to mute maintauner emitted Event
Transfers a file from the local machine to remote machine
input file/directory path
compress file path with file name
Optional
options: options = {}dictionary with string options
Optional
muteEvent: boolean = falseset to True if you want to mute maintauner emitted Event
command execution output
untars the file/directory at specified path
input file/directory path
compress file path with file name
Optional
options: options = {}dictionary with string options
Optional
muteEvent: boolean = falseset to True if you want to mute maintauner emitted Event
command execution output
unzips the file/folder at specified path
input file string
output folder
set to True if you want to mute maintauner emitted Event (unused)
set to True if you want it to unzip and remove on the remote machine; false just uploads
Uploads a (zipped) folder from the local machine to the target machine. After upload, decompresses the uploaded zip file and then deletes the zip file.
Optional
options: options = {}dictionary with string options
returns command execution output
Returns the username
input file/directory path
compress file path with file name
Optional
options: options = {}dictionary with string options
Optional
muteEvent: boolean = falseset to True if you want to mute maintauner emitted Event
command execution output
zips the file/directory at specified path
Generated using TypeDoc
Specialization of BaseConnector that, in addition to offering ssh connection, supports slurm connections with the HPC.