python/methylnet/torque_jobs.py
def assemble_run_torque(command, use_gpu, additions, queue, time, ngpu, additional_options=""):
    """Runs torque job after passing commands to setup bash file.

    Parameters
    ----------
    command : type
        Command to executer through torque.
    use_gpu : type
        GPUs needed?
    additions : type
        Additional commands to add (eg. module loads).
    queue : type
        Queue to place job in.
    time : type
        How many hours to run job for.
    ngpu : type
        Number of GPU to use.
    additional_options : type
        Additional options to pass to Torque scheduler.

    Returns
    -------
    job
        Custom job name.

    """
    job = run_torque_job_(assemble_replace_dict(command, use_gpu, additions, queue, time, ngpu),additional_options)
    return job
Runs torque job after passing commands to setup bash file.

    Parameters
    ----------
    command : type
        Command to executer through torque.
    use_gpu : type
        GPUs needed?
    additions : type
        Additional commands to add (eg. module loads).
    queue : type
        Queue to place job in.
    time : type
        How many hours to run job for.
    ngpu : type
        Number of GPU to use.
    additional_options : type
        Additional options to pass to Torque scheduler.

    Returns
    -------
    job
        Custom job name.

    
Runs torque job after passing commands to setup bash file.
Parameters

command : type
Command to executer through torque.

Returns

job
Custom job name.
Runs torque job after passing commands to setup bash file . Parameters command : type Command to executer through torque . Returns job Custom job name .
def assemble_run_torque(command, use_gpu, additions, queue, time, ngpu, additional_options=""):
    job = run_torque_job_(assemble_replace_dict(command, use_gpu, additions, queue, time, ngpu),additional_options)
    return job
def assemble_run_torque ( command , use_gpu , additions , queue , time , ngpu , additional_options = "" ) : job = run_torque_job_ ( assemble_replace_dict ( command , use_gpu , additions , queue , time , ngpu ) , additional_options ) return job
Runs torque job after passing commands to setup bash file.
Runs torque job after passing commands to setup bash file .
"""Runs torque job after passing commands to setup bash file.

    Parameters
    ----------
    command : type
        Command to executer through torque.
    use_gpu : type
        GPUs needed?
    additions : type
        Additional commands to add (eg. module loads).
    queue : type
        Queue to place job in.
    time : type
        How many hours to run job for.
    ngpu : type
        Number of GPU to use.
    additional_options : type
        Additional options to pass to Torque scheduler.

    Returns
    -------
    job
        Custom job name.

    """
command
use_gpu
additions
queue
time
ngpu
additional_options