public String getAsString() { if ( likelihoodsAsString_PLs == null ) { // todo -- should we accept null log10Likelihoods and set PLs as MISSING? if ( log10Likelihoods == null ) throw new TribbleException("BUG: Attempted to get likelihoods as strings and neither the vector nor the string is set!"); likelihoodsAsString_PLs = convertLikelihoodsToPLString(log10Likelihoods); } return likelihoodsAsString_PLs; }
public String getAsString() { if ( likelihoodsAsString_PLs == null ) { // todo -- should we accept null log10Likelihoods and set PLs as MISSING? if ( log10Likelihoods == null ) throw new TribbleException("BUG: Attempted to get likelihoods as strings and neither the vector nor the string is set!"); likelihoodsAsString_PLs = convertLikelihoodsToPLString(log10Likelihoods); } return likelihoodsAsString_PLs; }
public String getAsString() { if ( likelihoodsAsString_PLs == null ) { // todo -- should we accept null log10Likelihoods and set PLs as MISSING? if ( log10Likelihoods == null ) throw new TribbleException("BUG: Attempted to get likelihoods as strings and neither the vector nor the string is set!"); likelihoodsAsString_PLs = convertLikelihoodsToPLString(log10Likelihoods); } return likelihoodsAsString_PLs; }