prepareInput: Prepare input object

Description Usage Arguments Details Value

Description

This function ensures a module's moduleInput requirements will be met when executed.

Usage

1
prepareInput(moduleInput, inputList, outputDirectory, moduleLanguage, location)

Arguments

moduleInput

moduleInput object

inputList

list of input objects provided to module

outputDirectory

working directory for module execution

moduleLanguage

moduleLanguage object

location

location of originating module file

Details

For any moduleInput wrapping a internalVessel or fileVessel with a relative ref, the relevant input object is copied into the module outputDirectory.

For any moduleInput that is not found in inputList (e.g., when the module is being run directly), the moduleInput itself is tried (e.g., a URL vessel should work).

Value

input object. Generally a character string referencing a file location or URL


anhinton/conduit documentation built on May 10, 2019, 11:48 a.m.