Gets the protocols that have been saved for a particular pipeline.
labkey.pipeline.getProtocols(baseUrl=NULL, folderPath,
taskId, path, includeWorkbooks = FALSE)
a string specifying the baseUrl
for the LabKey server
a string specifying the folderPath
a string identifier for the pipeline
a string for the relative path from the folder's pipeline root
(optional) If true, protocols from workbooks under the selected container will also be included. Defaults to FALSE.
The response will contain a list of protocol objects, each of which will have the following properties:
"name": Name of the saved protocol.
"description": Description of the saved protocol, if provided.
"xmlParameters": Bioml representation of the parameters defined by this protocol.
"jsonParameters": A list representation of the parameters defined by this protocol.
"containerPath": The container path where this protocol was saved.
The response will also include a defaultProtocolName property representing which of the protocol names is the default.
labkey.pipeline.getPipelineContainer
,
labkey.pipeline.getFileStatus
,
labkey.pipeline.startAnalysis
# NOT RUN {
labkey.pipeline.getProtocols(
baseUrl="http://labkey/",
folderPath="home",
taskId = "pipelinetest:pipeline:r-copy",
path = "r-copy",
includeWorkbooks = FALSE
)
# }
Run the code above in your browser using DataLab