4f684d9f3528f106c33c8f71f36629972d95fdeb angie Tue Oct 5 17:42:23 2021 -0700 Forgot to check for NULL... always check for NULL. Always. diff --git src/hg/hgPhyloPlace/phyloPlace.c src/hg/hgPhyloPlace/phyloPlace.c index d583c05..1bd7d63 100644 --- src/hg/hgPhyloPlace/phyloPlace.c +++ src/hg/hgPhyloPlace/phyloPlace.c @@ -2683,30 +2683,31 @@ sampleIds = readSampleIds(lf, bigTree, aliasFile); } lineFileClose(&lf); struct hash *seqInfoHash = hashFromSeqInfoList(seqInfoList); if (sampleIds == NULL) { return ctFile; } struct usherResults *results = NULL; if (vcfTn) { fflush(stdout); results = runUsher(usherPath, protobufPath, vcfTn->forCgi, subtreeSize, sampleIds, bigTree->condensedNodes, &startTime); + if (results) addSampleMutsFromSeqInfo(results->samplePlacements, seqInfoHash); } else if (subtreesOnly) { char *matUtilsPath = getMatUtilsPath(TRUE); results = runMatUtilsExtractSubtrees(matUtilsPath, protobufPath, subtreeSize, sampleIds, bigTree->condensedNodes, &startTime); } if (results && results->singleSubtreeInfo) { if (retSuccess) *retSuccess = TRUE; puts("<p></p>"); readQcThresholds(db);