Fix for Jared: don't blow up if there are no samples in the input (since that's allowed) - but warn the user just in case.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2518 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
090212c1c2
commit
b745c2f8d7
|
|
@ -91,9 +91,9 @@ public class VariantAnnotator extends RodWalker<Integer, Integer> {
|
||||||
samples.add(sampleName.toUpperCase());
|
samples.add(sampleName.toUpperCase());
|
||||||
}
|
}
|
||||||
|
|
||||||
// if there are no valid samples, die
|
// if there are no valid samples, warn the user
|
||||||
if ( samples.size() == 0 )
|
if ( samples.size() == 0 )
|
||||||
throw new StingException("There are no samples input at all; use the --sampleName argument to specify one");
|
logger.warn("There are no samples input at all; use the --sampleName argument to specify one if desired.");
|
||||||
|
|
||||||
determineAllAnnotations();
|
determineAllAnnotations();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue