Allow this ROD to consist of just the positions

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1497 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
ebanks 2009-09-01 12:43:18 +00:00
parent 4a1d79cd7b
commit 54c0b6c430
1 changed files with 4 additions and 1 deletions

View File

@ -17,5 +17,8 @@ public class CleanedOutSNPROD extends TabularROD {
return GenomeLocParser.parseGenomeLoc(this.get("0"));
}
public boolean isRealSNP() { return this.get("1").equals(REAL_SNP_STRING); }
public boolean isRealSNP() {
String s = this.get("1");
return s != null && s.equals(REAL_SNP_STRING);
}
}