Gets the status of analysis using a particular protocol for a particular pipeline.
labkey.pipeline.getFileStatus(baseUrl=NULL, folderPath,
taskId, protocolName, path, files)
a string specifying the baseUrl
for the LabKey server
a string specifying the folderPath
a string identifier for the pipeline
a string name of the analysis protocol
a string for the relative path from the folder's pipeline root
a list of names of the files within the subdirectory described by the path property
The response will contain a list of file status objects, i.e. files, each of which will have the following properties:
"name": name of the file
"status": status of the file
The response will also include the name of the action that would be performed on the files if the user initiated processing, i.e. submitType.
labkey.pipeline.getPipelineContainer
,
labkey.pipeline.getProtocols
,
labkey.pipeline.startAnalysis
# NOT RUN {
labkey.pipeline.getFileStatus(
baseUrl="http://labkey/",
folderPath="home",
taskId = "pipelinetest:pipeline:r-copy",
path = "r-copy",
protocolName = "Test protocol name",
files = list("sample.txt", "result.txt")
)
# }
Run the code above in your browser using DataLab