Unfortunately when annotating sites with the UG the -G None option was wiping out the single annotations added by -A options

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4625 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
rpoplin 2010-11-04 19:27:23 +00:00
parent 816c86776e
commit 913db5d1ab
1 changed files with 10 additions and 9 deletions

View File

@ -136,6 +136,8 @@ public class VariantAnnotatorEngine {
throw new UserException.BadArgumentValue("group", "Class " + group + " is not found; please check that you have specified the class name correctly"); throw new UserException.BadArgumentValue("group", "Class " + group + " is not found; please check that you have specified the class name correctly");
classes.addAll(PackageUtils.getClassesImplementingInterface(interfaceClass)); classes.addAll(PackageUtils.getClassesImplementingInterface(interfaceClass));
} }
}
// get the specific classes provided // get the specific classes provided
for ( String annotation : annotationsToUse ) { for ( String annotation : annotationsToUse ) {
Class annotationClass = classMap.get(annotation); Class annotationClass = classMap.get(annotation);
@ -145,7 +147,6 @@ public class VariantAnnotatorEngine {
throw new UserException.BadArgumentValue("annotation", "Class " + annotation + " is not found; please check that you have specified the class name correctly"); throw new UserException.BadArgumentValue("annotation", "Class " + annotation + " is not found; please check that you have specified the class name correctly");
classes.add(annotationClass); classes.add(annotationClass);
} }
}
// get the instances // get the instances
requestedInfoAnnotations = new ArrayList<InfoFieldAnnotation>(); requestedInfoAnnotations = new ArrayList<InfoFieldAnnotation>();