changed blank gene name to UNKNOWN

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1851 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
kcibul 2009-10-15 13:47:00 +00:00
parent 0c2016c19a
commit 79993be46c
1 changed files with 3 additions and 3 deletions

View File

@ -206,10 +206,10 @@ public class HybSelPerformanceWalker extends LocusWalker<Integer, HybSelPerforma
} }
private String getGeneName(GenomeLoc target) { private String getGeneName(GenomeLoc target) {
if (refseqIterator == null) { return ""; } if (refseqIterator == null) { return "UNKNOWN"; }
RODRecordList<rodRefSeq> annotationList = refseqIterator.seekForward(target); RODRecordList<rodRefSeq> annotationList = refseqIterator.seekForward(target);
if (annotationList == null) { return ""; } if (annotationList == null) { return "UNKNOWN"; }
for(rodRefSeq rec : annotationList) { for(rodRefSeq rec : annotationList) {
if ( rec.overlapsExonP(target) ) { if ( rec.overlapsExonP(target) ) {
@ -217,7 +217,7 @@ public class HybSelPerformanceWalker extends LocusWalker<Integer, HybSelPerforma
} }
} }
return ""; return "UNKNOWN";
} }