Setting the Value of a QC Flag on an Artifact
artifact = GLSRestApiUtils.httpGET(artifactURI, username, password)
Node foundQCNode = artifact.'qc-flag'[0] as Node
if((bp_size >= threshold1) && (bp_size <= threshold2)){qcFlag = "PASSED"}
else{qcFlag = "FAILED"} foundQCNode ? foundQCNode.setValue(qcFlag) : addChild(new Node(null, 'qc-flag', qcFlag), artifact, "qc-flag")
GLSRestApiUtils.httpPUT(artifact, artifactURI, username, password)PreviousFinding QC Flags in Aggregate QC (Library Validation) via REST APINextCreating Notifications When Files are Added via LabLink
Last updated
Was this helpful?
