More informative error message
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2499 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
0a6bd5a270
commit
c209ba55aa
|
|
@ -229,7 +229,7 @@ public class EmpiricalSubstitutionProbabilities extends FourBaseProbabilities {
|
|||
|
||||
if ( pl == SequencerPlatform.UNKNOWN ) {
|
||||
if ( raiseErrorOnUnknownPlatform )
|
||||
throw new RuntimeException("Unknown Sequencer platform for read " + read.format());
|
||||
throw new RuntimeException("Unknown Sequencer platform for read " + read.format() + "; your BAM file is missing the PL tag for some read groups. Please specify a default platform. See your walker's documentation to accomplish this");
|
||||
else {
|
||||
pl = defaultPlatform;
|
||||
//System.out.printf("Using default platform %s", pl);
|
||||
|
|
@ -249,4 +249,4 @@ public class EmpiricalSubstitutionProbabilities extends FourBaseProbabilities {
|
|||
|
||||
return log10p;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue