R/container_create_method.R
create_singularity_ti_method.Rd
This function creates a TI method from a singularity image. This image can be build using singularity build
from a docker image (eg. singularity build comp1.simg docker://dynverse/comp1
)
create_singularity_ti_method(image, singularity_images_folder = get_default_singularity_images_folder(), definition = extract_definition_from_singularity_image(image, singularity_images_folder), ...) extract_definition_from_singularity_image(image, singularity_images_folder = get_default_singularity_images_folder(), definition_location = "/code/definition.yml") pull_singularity_ti_method(image = image, singularity_images_folder = get_default_singularity_images_folder(), return_method = TRUE)
image | The location of the singularity image file, eg. |
---|---|
singularity_images_folder | The location of the folder containing the singularity images. By default, this will use either the DYNWRAP_SINGULARITY_IMAGES_FOLDER environment variable, the dynwrap_singularity_images_folder option, or the working directory. |
definition | The method definition, a list containing the name, input, output and parameters of a method.
Optional, as the definition file will be automatically loaded from the images |
... | Other information about the method |
definition_location | The location of the definition file within the image |
return_method | Whether to return the method (TRUE) or only pull the image (FALSE) |