Commit 2f28584b authored by Guillaume Jimenez's avatar Guillaume Jimenez

Update analysisSample at every sync.

parent 74a29d02
......@@ -564,7 +564,6 @@ public class ClarityDBConnection implements Closeable {
break; //should only be one result
}
// Extraction
NucExtract nucExtract = sample.getNucExtract();
NucExtract derivedFromNucExtract = null;
......@@ -600,6 +599,14 @@ public class ClarityDBConnection implements Closeable {
} else if (isDna != null && !isDna) {
sample.setNucType("rna");
}
//Analysis Sample
//artifact should not be null here
if (artifact != null) {
sample.setAnalysisSample(artifact.getAnalysisSample());
}
// NucExtract.pctTumor
Object pctTumor = latestUDFValue(artifactsforSample, locators.get(ArtifactLocator.PERCENT_TUMOR));
if (pctTumor != null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment