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:
ebanks 2010-01-06 15:37:06 +00:00
parent 090212c1c2
commit b745c2f8d7
1 changed files with 2 additions and 2 deletions

View File

@ -91,9 +91,9 @@ public class VariantAnnotator extends RodWalker<Integer, Integer> {
samples.add(sampleName.toUpperCase());
}
// if there are no valid samples, die
// if there are no valid samples, warn the user
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();