Emit a warning whenever the VectorLoglessPairHMM is used

This commit is contained in:
David Roazen 2014-03-12 09:55:35 -04:00
parent 35aa24ab54
commit c67ced5f3b
1 changed files with 4 additions and 0 deletions

View File

@ -117,6 +117,10 @@ public class VectorLoglessPairHMM extends JNILoglessPairHMM {
//The constructor is called only once inside PairHMMLikelihoodCalculationEngine //The constructor is called only once inside PairHMMLikelihoodCalculationEngine
public VectorLoglessPairHMM() { public VectorLoglessPairHMM() {
super(); super();
logger.warn("WARNING: the VectorLoglessPairHMM is an experimental implementation still under active development. " +
"Use at your own risk!");
synchronized(isVectorLoglessPairHMMLibraryLoaded) { synchronized(isVectorLoglessPairHMMLibraryLoaded) {
//Load the library and initialize the FieldIDs //Load the library and initialize the FieldIDs
if(!isVectorLoglessPairHMMLibraryLoaded) { if(!isVectorLoglessPairHMMLibraryLoaded) {